=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/resp.c,v retrieving revision 1.33 retrieving revision 1.34 diff -c -r1.33 -r1.34 *** src/usr.bin/cvs/Attic/resp.c 2005/05/12 17:32:16 1.33 --- src/usr.bin/cvs/Attic/resp.c 2005/05/19 04:17:24 1.34 *************** *** 1,4 **** ! /* $OpenBSD: resp.c,v 1.33 2005/05/12 17:32:16 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: resp.c,v 1.34 2005/05/19 04:17:24 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 566,572 **** static int cvs_resp_modtime(struct cvsroot *root, int type, char *line) { ! cvs_modtime = cvs_datesec(line, CVS_DATE_RFC822, 1); return (0); } --- 566,572 ---- static int cvs_resp_modtime(struct cvsroot *root, int type, char *line) { ! cvs_modtime = cvs_date_parse(line); return (0); } *************** *** 615,621 **** if (cvs_modtime != CVS_DATE_DMSEC) { ep->ce_mtime = cvs_modtime; - cvs_modtime = CVS_DATE_DMSEC; /* invalidate */ } else ep->ce_mtime = time(&(ep->ce_mtime)); --- 615,620 ---- *************** *** 652,657 **** --- 651,659 ---- if (utimes(path, tv) == -1) 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 */ if (cvs_fcksum != NULL) {