diff options
author | 2008-01-13 11:15:19 +0000 | |
---|---|---|
committer | 2008-01-13 11:15:19 +0000 | |
commit | 7fa064cafec44daffa2be5cd22af4519b86ed4e4 (patch) | |
tree | 8320da4e64671cfb9e2d5196dd45d37127e72fd9 /usr.bin/cvs/commit.c | |
parent | Typos fixed. (diff) | |
download | wireguard-openbsd-7fa064cafec44daffa2be5cd22af4519b86ed4e4.tar.xz wireguard-openbsd-7fa064cafec44daffa2be5cd22af4519b86ed4e4.zip |
Revision buffers are supposed to be of size CVS_REV_BUFSZ (32) instead
of 24.
OK xsa@
> Diff from Igor Zinovik.
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r-- | usr.bin/cvs/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index 988b9858929..98a71b2e4cc 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.118 2008/01/13 11:11:08 tobias Exp $ */ +/* $OpenBSD: commit.c,v 1.119 2008/01/13 11:15:19 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -264,7 +264,7 @@ cvs_commit_local(struct cvs_file *cf) int onbranch, isnew, histtype; RCSNUM *nrev, *crev, *rrev, *brev; int openflags, rcsflags; - char rbuf[24], nbuf[24]; + char rbuf[CVS_REV_BUFSZ], nbuf[CVS_REV_BUFSZ]; CVSENTRIES *entlist; char attic[MAXPATHLEN], repo[MAXPATHLEN], rcsfile[MAXPATHLEN]; |