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

Diff for /src/usr.bin/cvs/diff.c between version 1.104 and 1.105

version 1.104, 2006/06/16 14:07:42 version 1.105, 2006/06/16 20:01:10
Line 191 
Line 191 
         } else if (cf->file_status != FILE_REMOVED) {          } else if (cf->file_status != FILE_REMOVED) {
                 if (fstat(cf->fd, &st) == -1)                  if (fstat(cf->fd, &st) == -1)
                         fatal("fstat failed %s", strerror(errno));                          fatal("fstat failed %s", strerror(errno));
                 if ((b2 = cvs_buf_load(cf->file_path, BUF_AUTOEXT)) == NULL)                  if ((b2 = cvs_buf_load_fd(cf->fd, BUF_AUTOEXT)) == NULL)
                         fatal("failed to load %s", cf->file_path);                          fatal("failed to load %s", cf->file_path);
   
                 st.st_mtime = cvs_hack_time(st.st_mtime, 1);                  st.st_mtime = cvs_hack_time(st.st_mtime, 1);

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105