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

Diff for /src/usr.bin/less/cmdbuf.c between version 1.18 and 1.19

version 1.18, 2019/05/15 19:06:01 version 1.19, 2019/06/28 13:35:01
Line 1299 
Line 1299 
   
         /* Make history file readable only by owner. */          /* Make history file readable only by owner. */
         r = fstat(fileno(f), &statbuf);          r = fstat(fileno(f), &statbuf);
         if (r < 0 || !S_ISREG(statbuf.st_mode))          if (r == -1 || !S_ISREG(statbuf.st_mode))
                 /* Don't chmod if not a regular file. */                  /* Don't chmod if not a regular file. */
                 do_chmod = 0;                  do_chmod = 0;
         if (do_chmod)          if (do_chmod)

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19