[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.67 and 1.68

version 1.67, 2019/06/28 05:35:35 version 1.68, 2019/06/28 13:35:02
Line 511 
Line 511 
                         check_only = true;                          check_only = true;
                         break;                          break;
                 case 'd':                  case 'd':
                         if (chdir(optarg) < 0)                          if (chdir(optarg) == -1)
                                 pfatal("can't cd to %s", optarg);                                  pfatal("can't cd to %s", optarg);
                         break;                          break;
                 case 'D':                  case 'D':

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68