summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.h
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2009-02-21 13:44:19 +0000
committerJoris Vink <joris@cvs.openbsd.org>2009-02-21 13:44:19 +0000
commit0a714506acc136f72755d08ad7651e3840ae2573 (patch)
tree10a1fb9d9d1f16fd59b9e25f386de6e6f7a600eb /usr.bin/cvs/file.h
parentfcdb267cb4a93ef44b07b50fe1d8d818fa469aed (diff)
use file_flags for 2 more reasons:
- mark a file as being inside the Attic/ - mark a file as existing in the working copy (both in local and remote mode) this way we no longer will need to check if cf->fd == -1 and think about wether or not we are in local or remote mode.
Diffstat (limited to 'usr.bin/cvs/file.h')
-rw-r--r--usr.bin/cvs/file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/file.h b/usr.bin/cvs/file.h
index f220ad593b7..2845cbeed00 100644
--- a/usr.bin/cvs/file.h
+++ b/usr.bin/cvs/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.50 2009/02/21 12:47:19 joris Exp $ */
+/* $OpenBSD: file.h,v 1.51 2009/02/21 13:44:18 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
@@ -73,6 +73,7 @@ struct cvs_file {
#define FILE_HAS_TAG 0x01
#define FILE_USER_SUPPLIED 0x02
#define FILE_INSIDE_ATTIC 0x04
+#define FILE_ON_DISK 0x08
struct cvs_filelist {
char *file_path;