=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/checkout.c,v retrieving revision 1.61 retrieving revision 1.62 diff -c -r1.61 -r1.62 *** src/usr.bin/cvs/checkout.c 2006/06/06 06:58:46 1.61 --- src/usr.bin/cvs/checkout.c 2006/06/14 20:28:53 1.62 *************** *** 1,4 **** ! /* $OpenBSD: checkout.c,v 1.61 2006/06/06 06:58:46 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: checkout.c,v 1.62 2006/06/14 20:28:53 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 201,208 **** if (exists == 0) { rcstime = rcs_rev_getdate(cf->file_rcs, rnum); ! if ((rcstime = cvs_hack_time(rcstime, 0)) == 0) ! fatal("cvs_checkout_file: time conversion failed"); } else { time(&rcstime); } --- 201,207 ---- if (exists == 0) { rcstime = rcs_rev_getdate(cf->file_rcs, rnum); ! rcstime = cvs_hack_time(rcstime, 0); } else { time(&rcstime); } *************** *** 213,220 **** if (futimes(cf->fd, tv) == -1) fatal("cvs_checkout_file: futimes: %s", strerror(errno)); ! if ((rcstime = cvs_hack_time(rcstime, 1)) == 0) ! fatal("cvs_checkout_file: to gmt failed"); ctime_r(&rcstime, tbuf); if (tbuf[strlen(tbuf) - 1] == '\n') --- 212,218 ---- if (futimes(cf->fd, tv) == -1) fatal("cvs_checkout_file: futimes: %s", strerror(errno)); ! rcstime = cvs_hack_time(rcstime, 1); ctime_r(&rcstime, tbuf); if (tbuf[strlen(tbuf) - 1] == '\n')