From 49b62627be018dc16a5864f774be94fbcedf2e34 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Sat, 30 Jun 2007 08:23:50 +0000 Subject: Sync revisions and time buffers size to be consistent with each others. Simplifies further size tweaks if needed. OK ray@. --- usr.bin/rcs/rlog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/rcs/rlog.c') 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 * Copyright (c) 2005, 2006 Xavier Santolaria @@ -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; -- cgit v1.2.3