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

Diff for /src/usr.bin/rcs/buf.c between version 1.26 and 1.27

version 1.26, 2015/11/02 16:45:21 version 1.27, 2016/10/16 13:35:51
Line 100 
Line 100 
         if (fstat(fd, &st) == -1)          if (fstat(fd, &st) == -1)
                 goto out;                  goto out;
   
         if (st.st_size > SIZE_MAX) {          if ((uintmax_t)st.st_size > SIZE_MAX) {
                 errno = EFBIG;                  errno = EFBIG;
                 goto out;                  goto out;
         }          }

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27