You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/05/11 12:33:58 UTC

svn commit: r1101823 - /subversion/trunk/subversion/libsvn_wc/adm_ops.c

Author: rhuijben
Date: Wed May 11 10:33:57 2011
New Revision: 1101823

URL: http://svn.apache.org/viewvc?rev=1101823&view=rev
Log:
* subversion/libsvn_wc/adm_ops.c
  (revert_restore): Following up on r1101817, fix compilation on systems that
    do have symlinks (unlike my dev machine).

Modified:
    subversion/trunk/subversion/libsvn_wc/adm_ops.c

Modified: subversion/trunk/subversion/libsvn_wc/adm_ops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_ops.c?rev=1101823&r1=1101822&r2=1101823&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_ops.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_ops.c Wed May 11 10:33:57 2011
@@ -1421,7 +1421,7 @@ revert_restore(svn_wc__db_t *db,
                                       APR_HASH_KEY_STRING);
 
 #ifdef HAVE_SYMLINK
-          if ((special_prop != NULL) != dirent->special)
+          if ((special_prop != NULL) != special)
             {
               /* File/symlink mismatch. */
               SVN_ERR(svn_io_remove_file2(local_abspath, FALSE, scratch_pool));