From 7fa064cafec44daffa2be5cd22af4519b86ed4e4 Mon Sep 17 00:00:00 2001 From: tobias Date: Sun, 13 Jan 2008 11:15:19 +0000 Subject: Revision buffers are supposed to be of size CVS_REV_BUFSZ (32) instead of 24. OK xsa@ > Diff from Igor Zinovik. --- usr.bin/cvs/commit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs/commit.c') 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 * Copyright (c) 2006 Xavier Santolaria @@ -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]; -- cgit v1.2.3-59-g8ed1b