summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcs.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2007-06-30 08:23:50 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2007-06-30 08:23:50 +0000
commit49b62627be018dc16a5864f774be94fbcedf2e34 (patch)
tree0ffcffb2214325cd32f28473fc048ade0c0cfdc1 /usr.bin/rcs/rcs.c
parentb943dde4f8c6cd4a744f87122fb3192a5ba1cb3f (diff)
Sync revisions and time buffers size to be consistent with each others.
Simplifies further size tweaks if needed. OK ray@.
Diffstat (limited to 'usr.bin/rcs/rcs.c')
-rw-r--r--usr.bin/rcs/rcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c
index f0a1c24765b..bb605c7989b 100644
--- a/usr.bin/rcs/rcs.c
+++ b/usr.bin/rcs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.39 2007/06/13 18:01:22 niallo Exp $ */
+/* $OpenBSD: rcs.c,v 1.40 2007/06/30 08:23:49 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -369,7 +369,7 @@ void
rcs_write(RCSFILE *rfp)
{
FILE *fp;
- char numbuf[64], *fn;
+ char numbuf[RCS_REV_BUFSZ], *fn;
struct rcs_access *ap;
struct rcs_sym *symp;
struct rcs_branch *brp;
@@ -2841,7 +2841,7 @@ int
rcs_rev_setlog(RCSFILE *rfp, RCSNUM *rev, const char *logtext)
{
struct rcs_delta *rdp;
- char buf[16];
+ char buf[RCS_REV_BUFSZ];
rcsnum_tostr(rev, buf, sizeof(buf));