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

Diff for /src/usr.bin/cvs/Attic/resp.c between version 1.33 and 1.34

version 1.33, 2005/05/12 17:32:16 version 1.34, 2005/05/19 04:17:24
Line 566 
Line 566 
 static int  static int
 cvs_resp_modtime(struct cvsroot *root, int type, char *line)  cvs_resp_modtime(struct cvsroot *root, int type, char *line)
 {  {
         cvs_modtime = cvs_datesec(line, CVS_DATE_RFC822, 1);          cvs_modtime = cvs_date_parse(line);
         return (0);          return (0);
 }  }
   
Line 615 
Line 615 
   
         if (cvs_modtime != CVS_DATE_DMSEC) {          if (cvs_modtime != CVS_DATE_DMSEC) {
                 ep->ce_mtime = cvs_modtime;                  ep->ce_mtime = cvs_modtime;
                 cvs_modtime = CVS_DATE_DMSEC;   /* invalidate */  
         } else          } else
                 ep->ce_mtime = time(&(ep->ce_mtime));                  ep->ce_mtime = time(&(ep->ce_mtime));
   
Line 652 
Line 651 
                 if (utimes(path, tv) == -1)                  if (utimes(path, tv) == -1)
                         cvs_log(LP_ERRNO, "failed to set file timestamps");                          cvs_log(LP_ERRNO, "failed to set file timestamps");
         }          }
   
           /* invalidate last received timestamp */
           cvs_modtime = CVS_DATE_DMSEC;
   
         /* now see if there is a checksum */          /* now see if there is a checksum */
         if (cvs_fcksum != NULL) {          if (cvs_fcksum != NULL) {

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34