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

Diff for /src/usr.bin/unifdef/unifdef.c between version 1.20 and 1.21

version 1.20, 2015/08/20 22:32:42 version 1.21, 2015/10/03 20:12:53
Line 350 
Line 350 
                 errx(2, "-o cannot be used with multiple input files");                  errx(2, "-o cannot be used with multiple input files");
         if (argc > 1 && !inplace)          if (argc > 1 && !inplace)
                 errx(2, "multiple input files require -m or -M");                  errx(2, "multiple input files require -m or -M");
           if (argc == 0 && inplace)
                   errx(2, "can't edit stdin in place");
         if (argc == 0)          if (argc == 0)
                 argc = 1;                  argc = 1;
         if (argc == 1 && !inplace && ofilename == NULL)          if (argc == 1 && !inplace && ofilename == NULL)

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21