summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rlog.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/rlog.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/rlog.c')
-rw-r--r--usr.bin/rcs/rlog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rlog.c b/usr.bin/rcs/rlog.c
index 2b3d02df091..348eae8873c 100644
--- a/usr.bin/rcs/rlog.c
+++ b/usr.bin/rcs/rlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rlog.c,v 1.57 2007/02/27 07:59:13 xsa Exp $ */
+/* $OpenBSD: rlog.c,v 1.58 2007/06/30 08:23:49 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -173,7 +173,7 @@ rlog_main(int argc, char **argv)
static void
rlog_file(const char *fname, RCSFILE *file)
{
- char numb[64];
+ char numb[RCS_REV_BUFSZ];
u_int nrev;
struct rcs_sym *sym;
struct rcs_access *acp;
@@ -257,7 +257,7 @@ rlog_rev_print(struct rcs_delta *rdp)
{
int i, found;
struct tm t;
- char *author, numb[64], *fmt, timeb[64];
+ char *author, numb[RCS_REV_BUFSZ], *fmt, timeb[RCS_TIME_BUFSZ];
struct rcs_argvector *largv, *sargv, *wargv;
i = found = 0;