subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1704814 - /subversion/trunk/subversion/libsvn_diff/parse-diff.c
Date Wed, 23 Sep 2015 10:56:32 GMT
Author: philip
Date: Wed Sep 23 10:56:32 2015
New Revision: 1704814

URL: http://svn.apache.org/viewvc?rev=1704814&view=rev
Log:
* subversion/libsvn_diff/parse-diff.c
  (parse_binary_patch): Add brackets for precedence in logical expression.

Modified:
    subversion/trunk/subversion/libsvn_diff/parse-diff.c

Modified: subversion/trunk/subversion/libsvn_diff/parse-diff.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_diff/parse-diff.c?rev=1704814&r1=1704813&r2=1704814&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_diff/parse-diff.c (original)
+++ subversion/trunk/subversion/libsvn_diff/parse-diff.c Wed Sep 23 10:56:32 2015
@@ -1628,7 +1628,7 @@ parse_binary_patch(svn_patch_t *patch, a
           char c = line->data[0];
 
           /* 66 = len byte + (52/4*5) chars */
-          if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z')

+          if (((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'))
               && line->len <= 66
               && !strchr(line->data, ':')
               && !strchr(line->data, ' '))



Mime
View raw message