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

Diff for /src/usr.bin/tic/tic.c between version 1.33 and 1.34

version 1.33, 2015/11/11 02:52:46 version 1.34, 2019/06/28 13:35:04
Line 369 
Line 369 
         fprintf(stderr, "%s: Can't open %s\n", _nc_progname, filename);          fprintf(stderr, "%s: Can't open %s\n", _nc_progname, filename);
         ExitProgram(EXIT_FAILURE);          ExitProgram(EXIT_FAILURE);
     }      }
     if (fstat(fileno(fp), &sb) < 0      if (fstat(fileno(fp), &sb) == -1
         || (sb.st_mode & S_IFMT) != S_IFREG) {          || (sb.st_mode & S_IFMT) != S_IFREG) {
         fprintf(stderr, "%s: %s is not a file\n", _nc_progname, filename);          fprintf(stderr, "%s: %s is not a file\n", _nc_progname, filename);
         ExitProgram(EXIT_FAILURE);          ExitProgram(EXIT_FAILURE);

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34