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

Diff for /src/usr.bin/ctfdump/ctfdump.c between version 1.5 and 1.6

version 1.5, 2017/08/29 21:10:20 version 1.6, 2017/09/19 08:28:57
Line 139 
Line 139 
         }          }
         if (fstat(fd, &st) == -1) {          if (fstat(fd, &st) == -1) {
                 warn("fstat");                  warn("fstat");
                   close(fd);
                 return 1;                  return 1;
         }          }
         if ((uintmax_t)st.st_size > SIZE_MAX) {          if ((uintmax_t)st.st_size > SIZE_MAX) {
                 warnx("file too big to fit memory");                  warnx("file too big to fit memory");
                   close(fd);
                 return 1;                  return 1;
         }          }
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6