summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.h
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-12-03 15:31:54 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-12-03 15:31:54 +0000
commitc380072ac295335bf4fbfaf6172fdb8194537562 (patch)
tree30118e9ca6da7d0319a366d340c947998f6f5ef9 /usr.bin/cvs/rcs.h
parentc754d6bad3dea47b57c8497f2e1f3aa15cb9c3c8 (diff)
todd@ reminds me:
If you 'vi file.c' and change stuff, then 'make depend && make' you'll have a file.o file most definately more recent than the latest committed version of file.c. Then, if you rm file.c, and cvs update file.c, if 'file.c' is set to the timestamp of the last committed version, a subsequent 'make' will not rebuild the .o file. to fix this we simply use the current timestamp when updating files. thanks todd@!
Diffstat (limited to 'usr.bin/cvs/rcs.h')
-rw-r--r--usr.bin/cvs/rcs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h
index df38304752d..06faa90602e 100644
--- a/usr.bin/cvs/rcs.h
+++ b/usr.bin/cvs/rcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.h,v 1.40 2005/12/03 01:02:09 joris Exp $ */
+/* $OpenBSD: rcs.h,v 1.41 2005/12/03 15:31:53 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -109,6 +109,7 @@
#define CHECKOUT_REV_CREATED 1
#define CHECKOUT_REV_MERGED 2
#define CHECKOUT_REV_REMOVED 3
+#define CHECKOUT_REV_UPDATED 4
typedef struct rcs_num {
u_int rn_len;