[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.70 and 1.71

version 1.70, 2022/08/03 07:25:44 version 1.71, 2022/08/03 07:30:37
Line 651 
Line 651 
                     || diff_type == UNI_DIFF)) {                      || diff_type == UNI_DIFF)) {
                         say("Empty context always matches.\n");                          say("Empty context always matches.\n");
                 }                  }
                   if (first_guess == 0)
                           return 1;
                 return (first_guess);                  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 */

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71