summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.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/rcsprog.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/rcsprog.c')
-rw-r--r--usr.bin/rcs/rcsprog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index 0095cff2e57..3f812adfafc 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.138 2007/04/26 21:51:04 sobrado Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.139 2007/06/30 08:23:49 xsa Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -434,7 +434,7 @@ rcs_main(int argc, char **argv)
if (rcsflags & RCSPROG_LFLAG) {
RCSNUM *rev;
const char *username;
- char rev_str[16];
+ char rev_str[RCS_REV_BUFSZ];
if ((username = getlogin()) == NULL)
err(1, "getlogin");
@@ -460,7 +460,7 @@ rcs_main(int argc, char **argv)
if (rcsflags & RCSPROG_UFLAG) {
RCSNUM *rev;
const char *username;
- char rev_str[16];
+ char rev_str[RCS_REV_BUFSZ];
if ((username = getlogin()) == NULL)
err(1, "getlogin");
@@ -490,7 +490,7 @@ rcs_main(int argc, char **argv)
if (orange != NULL) {
struct rcs_delta *rdp, *nrdp;
- char b[16];
+ char b[RCS_REV_BUFSZ];
rcs_rev_select(file, orange);
for (rdp = TAILQ_FIRST(&(file->rf_delta));
@@ -530,7 +530,7 @@ rcs_attach_symbol(RCSFILE *file, const char *symname)
{
char *rnum;
RCSNUM *rev;
- char rbuf[16];
+ char rbuf[RCS_REV_BUFSZ];
int rm;
rm = 0;