Fixed some patch fuzz.
[rsync/rsync-patches.git] / last-match.diff
index 0421349..cc9c538 100644 (file)
@@ -4,7 +4,7 @@ this line:
 
 [last-match]
 
---- orig/exclude.c     2005-02-26 03:22:59
+--- orig/exclude.c     2005-04-28 15:56:50
 +++ exclude.c  2005-02-26 03:22:20
 @@ -73,6 +73,7 @@ static BOOL parent_dirscan = False;
  static struct filter_struct **mergelist_parents;
@@ -24,7 +24,7 @@ this line:
        } else {
                ret->next = listp->tail->next;
                listp->tail->next = ret;
-@@ -959,6 +963,7 @@ void parse_filter_file(struct filter_lis
+@@ -957,6 +961,7 @@ void parse_filter_file(struct filter_lis
        char line[MAXPATHLEN+MAX_RULE_PREFIX+1]; /* +1 for trailing slash. */
        char *eob = line + sizeof line - 1;
        int word_split = mflags & MATCHFLG_WORD_SPLIT;
@@ -32,7 +32,7 @@ this line:
  
        if (!fname || !*fname)
                return;
-@@ -994,6 +999,7 @@ void parse_filter_file(struct filter_lis
+@@ -992,6 +997,7 @@ void parse_filter_file(struct filter_lis
        }
        dirbuf[dirbuf_len] = '\0';
  
@@ -40,7 +40,7 @@ this line:
        while (1) {
                char *s = line;
                int ch, overflow = 0;
-@@ -1017,6 +1023,10 @@ void parse_filter_file(struct filter_lis
+@@ -1015,6 +1021,10 @@ void parse_filter_file(struct filter_lis
                        s = line;
                }
                *s = '\0';
@@ -51,7 +51,7 @@ this line:
                /* Skip an empty token and (when line parsing) comments. */
                if (*line && (word_split || (*line != ';' && *line != '#')))
                        parse_rule(listp, line, mflags, xflags);
-@@ -1024,6 +1034,7 @@ void parse_filter_file(struct filter_lis
+@@ -1022,6 +1032,7 @@ void parse_filter_file(struct filter_lis
                        break;
        }
        fclose(fp);