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

Diff for /src/usr.bin/cvs/remote.c between version 1.11 and 1.12

version 1.11, 2007/01/26 08:35:23 version 1.12, 2007/01/26 11:19:44
Line 202 
Line 202 
 void  void
 cvs_remote_classify_file(struct cvs_file *cf)  cvs_remote_classify_file(struct cvs_file *cf)
 {  {
         time_t mtime;  
         struct stat st;          struct stat st;
         CVSENTRIES *entlist;          CVSENTRIES *entlist;
   
Line 230 
Line 229 
                         fatal("cvs_remote_classify_file(%s): %s", cf->file_path,                          fatal("cvs_remote_classify_file(%s): %s", cf->file_path,
                             strerror(errno));                              strerror(errno));
   
                 mtime = cvs_hack_time(st.st_mtime, 1);                  if (st.st_mtime != cf->file_ent->ce_mtime)
                 if (mtime != cf->file_ent->ce_mtime)  
                         cf->file_status = FILE_MODIFIED;                          cf->file_status = FILE_MODIFIED;
                 else                  else
                         cf->file_status = FILE_UPTODATE;                          cf->file_status = FILE_UPTODATE;

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