diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-16 16:34:20 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-16 16:34:20 +0000 |
commit | c54b4d6980b5d5a0a66e819ef0c0b8df82eee4a1 (patch) | |
tree | 7c3919cb4584f1da39809cee21fe66faa469b5b7 /usr.bin/cvs/cvs.h | |
parent | 8b36809a520b18156d0b2fdbaebf123e7b11f2c6 (diff) |
#define CVS_ENT_MAXLINELEN 1024
.. as the maximum length of a line in an Entries file, and use it.
problem spotted a while ago by mpech@.
ok jfb joris
Diffstat (limited to 'usr.bin/cvs/cvs.h')
-rw-r--r-- | usr.bin/cvs/cvs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h index 5507c93f181..0d16dbc8080 100644 --- a/usr.bin/cvs/cvs.h +++ b/usr.bin/cvs/cvs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.h,v 1.79 2005/08/12 14:41:54 xsa Exp $ */ +/* $OpenBSD: cvs.h,v 1.80 2005/08/16 16:34:19 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -244,6 +244,8 @@ struct cvsroot { #define CVS_ENT_REMOVED 2 #define CVS_ENT_UPTODATE 3 +#define CVS_ENT_MAXLINELEN 1024 + #define CVS_ENTF_SYNC 0x01 /* contents of disk and memory match */ #define CVS_ENTF_WR 0x02 /* file is opened for writing too */ |