diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-05-19 04:17:25 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-05-19 04:17:25 +0000 |
commit | 73777a9b14f042c516abc7fbd8789f38d6f1c225 (patch) | |
tree | b7c46c515fd4aef73d658532f08aa0807c278209 /usr.bin/cvs/cvs.h | |
parent | 55ce8dc1ce848c42d7f8eab4ceab058a3286ec2d (diff) |
use the date parsing code from date.y and fix timestamps on newly
created files so they match the values found in the corresponding
entries, otherwise all files appear as modified
ok joris
Diffstat (limited to 'usr.bin/cvs/cvs.h')
-rw-r--r-- | usr.bin/cvs/cvs.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h index 12b6c140969..adc18318197 100644 --- a/usr.bin/cvs/cvs.h +++ b/usr.bin/cvs/cvs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.h,v 1.55 2005/05/18 20:24:19 joris Exp $ */ +/* $OpenBSD: cvs.h,v 1.56 2005/05/19 04:17:24 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -393,12 +393,10 @@ char* cvs_logmsg_open (const char *); char* cvs_logmsg_get (const char *, struct cvs_flist *, struct cvs_flist *, struct cvs_flist *); int cvs_logmsg_send (struct cvsroot *, const char *); -/* from util.c */ -#define CVS_DATE_CTIME 0 -#define CVS_DATE_RFC822 1 + +time_t cvs_date_parse (const char *); int cvs_readrepo (const char *, char *, size_t); -time_t cvs_datesec (const char *, int, int); int cvs_modetostr (mode_t, char *, size_t); int cvs_strtomode (const char *, mode_t *); int cvs_splitpath (const char *, char *, size_t, char **); |