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

Diff for /src/usr.bin/rcs/rcsutil.c between version 1.12 and 1.13

version 1.12, 2006/05/27 05:49:14 version 1.13, 2006/05/27 08:12:29
Line 43 
Line 43 
         struct stat st;          struct stat st;
         time_t mtime;          time_t mtime;
   
         if (fstat(file->fd, &st) == -1) {          if (fstat(file->rf_fd, &st) == -1) {
                 warn("%s", file->rf_path);                  warn("%s", file->rf_path);
                 return (-1);                  return (-1);
         }          }
Line 69 
Line 69 
         tv[0].tv_sec = mtime;          tv[0].tv_sec = mtime;
         tv[1].tv_sec = tv[0].tv_sec;          tv[1].tv_sec = tv[0].tv_sec;
   
         if (futimes(file->fd, tv) == -1)          if (futimes(file->rf_fd, tv) == -1)
                 err(1, "utimes");                  err(1, "utimes");
 }  }
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13