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/rcsprog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/rcs/rcsprog.c') 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 * 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; -- cgit v1.2.3