[BACK]Return to patch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / patch

Diff for /src/usr.bin/patch/patch.c between version 1.39 and 1.40

version 1.39, 2004/06/14 18:26:33 version 1.40, 2004/06/18 17:52:25
Line 629 
Line 629 
                     || diff_type == UNI_DIFF)) {                      || diff_type == UNI_DIFF)) {
                         say("Empty context always matches.\n");                          say("Empty context always matches.\n");
                 }                  }
                 if (fuzz == 0)                  if (diff_type == CONTEXT_DIFF
                         return (input_lines == 0 ? first_guess : 0);                      || diff_type == NEW_CONTEXT_DIFF
                       || diff_type == UNI_DIFF) {
                           if (fuzz == 0)
                                   return (input_lines == 0 ? first_guess : 0);
                   } else
                           return (first_guess);
         }          }
         if (max_neg_offset >= first_guess)      /* do not try lines < 0 */          if (max_neg_offset >= first_guess)      /* do not try lines < 0 */
                 max_neg_offset = first_guess - 1;                  max_neg_offset = first_guess - 1;

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40