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

Diff for /src/usr.bin/cvs/file.c between version 1.129 and 1.130

version 1.129, 2005/12/03 02:19:17 version 1.130, 2005/12/03 15:07:21
Line 1252 
Line 1252 
                         else if (rcsnum_cmp(ent->ce_rev, cvs_addedrev, 2) == 0)                          else if (rcsnum_cmp(ent->ce_rev, cvs_addedrev, 2) == 0)
                                 cfp->cf_cvstat = CVS_FST_ADDED;                                  cfp->cf_cvstat = CVS_FST_ADDED;
                         else {                          else {
                                   /*
                                    * correct st.st_mtime first
                                    */
                                   if ((st.st_mtime =
                                       cvs_hack_time(st.st_mtime, 1)) == 0) {
                                           cvs_file_free(cfp);
                                           return (NULL);
                                   }
   
                                 /* check last modified time */                                  /* check last modified time */
                                 if (ent->ce_mtime == (time_t)st.st_mtime) {                                  if (ent->ce_mtime == (time_t)st.st_mtime) {
                                         cfp->cf_cvstat = CVS_FST_UPTODATE;                                          cfp->cf_cvstat = CVS_FST_UPTODATE;

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.130