You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philip Martin <ph...@ntlworld.com> on 2001/09/21 01:04:23 UTC

[PATCH] for flag check in fold_state_changes()

While trying to understand fold_state_changes() I discovered what
looks like an error:

Philip


2001-09-21 Philip Martin <ph...@ntlworld.com>

        * subversion/libsvn_wc/entries.c: fix check of
          modify_existence flag in fold_state_changes() 


--- entries.c~	Thu Sep 20 21:56:37 2001
+++ entries.c	Fri Sep 21 01:51:18 2001
@@ -1171,7 +1171,7 @@
 
   /* If we're not about to modify the existence, we'll use the
      existence of the current entry (if one it exists -- ha!) */
-  if ((! *modify_flags & SVN_WC__ENTRY_MODIFY_EXISTENCE) && (entry))
+  if (! (*modify_flags & SVN_WC__ENTRY_MODIFY_EXISTENCE) && (entry))
     existence = entry->existence;
 
   /* If we're not merging in changes, only the _add, _delete, _replace

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] for flag check in fold_state_changes()

Posted by kf...@collab.net.
Philip Martin <ph...@ntlworld.com> writes:
> While trying to understand fold_state_changes() I discovered what
> looks like an error:
> 
> Philip

Applied, thanks!

-K


> 2001-09-21 Philip Martin <ph...@ntlworld.com>
> 
>         * subversion/libsvn_wc/entries.c: fix check of
>           modify_existence flag in fold_state_changes() 
> 
> 
> --- entries.c~	Thu Sep 20 21:56:37 2001
> +++ entries.c	Fri Sep 21 01:51:18 2001
> @@ -1171,7 +1171,7 @@
>  
>    /* If we're not about to modify the existence, we'll use the
>       existence of the current entry (if one it exists -- ha!) */
> -  if ((! *modify_flags & SVN_WC__ENTRY_MODIFY_EXISTENCE) && (entry))
> +  if (! (*modify_flags & SVN_WC__ENTRY_MODIFY_EXISTENCE) && (entry))
>      existence = entry->existence;
>  
>    /* If we're not merging in changes, only the _add, _delete, _replace
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org