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

Diff for /src/usr.bin/pr/pr.c between version 1.41 and 1.42

version 1.41, 2017/12/23 20:53:07 version 1.42, 2019/06/28 13:35:02
Line 1507 
Line 1507 
                 curtime = time(NULL);                  curtime = time(NULL);
                 timeptr = localtime(&curtime);                  timeptr = localtime(&curtime);
             } else {              } else {
                 if (fstat(fileno(inf), &statbuf) < 0) {                  if (fstat(fileno(inf), &statbuf) == -1) {
                     ++errcnt;                      ++errcnt;
                     (void)fclose(inf);                      (void)fclose(inf);
                     ferrout("pr: Cannot stat %s, %s\n",                      ferrout("pr: Cannot stat %s, %s\n",

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42