summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/edit.c
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2007-06-28 21:38:09 +0000
committerxsa <xsa@openbsd.org>2007-06-28 21:38:09 +0000
commit0a7da307a320cc44e09a0576ba47e9cd8db3c9a4 (patch)
tree5a6c370983856da384df38e16c2982ca05bd26e3 /usr.bin/cvs/edit.c
parentWhen commiting to a server in a remote setup classify (diff)
downloadwireguard-openbsd-0a7da307a320cc44e09a0576ba47e9cd8db3c9a4.tar.xz
wireguard-openbsd-0a7da307a320cc44e09a0576ba47e9cd8db3c9a4.zip
Sync revisions and time buffers size to be consistent with each others.
Simplifies further size tweaks if needed. OK niallo@ ray@.
Diffstat (limited to 'usr.bin/cvs/edit.c')
-rw-r--r--usr.bin/cvs/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/edit.c b/usr.bin/cvs/edit.c
index f60e4b8a874..9152d28b935 100644
--- a/usr.bin/cvs/edit.c
+++ b/usr.bin/cvs/edit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: edit.c,v 1.34 2007/02/22 06:42:09 otto Exp $ */
+/* $OpenBSD: edit.c,v 1.35 2007/06/28 21:38:09 xsa Exp $ */
/*
* Copyright (c) 2006, 2007 Xavier Santolaria <xsa@openbsd.org>
*
@@ -385,7 +385,7 @@ cvs_unedit_local(struct cvs_file *cf)
if (cf->file_ent != NULL) {
CVSENTRIES *entlist;
struct cvs_ent *ent;
- char *entry, rbuf[16];
+ char *entry, rbuf[CVS_REV_BUFSZ];
entlist = cvs_ent_open(cf->file_wd);
@@ -428,7 +428,7 @@ cvs_base_handle(struct cvs_file *cf, int flags)
size_t len;
int i;
char *dp, *sp;
- char buf[MAXPATHLEN], *fields[2], rbuf[16];
+ char buf[MAXPATHLEN], *fields[2], rbuf[CVS_REV_BUFSZ];
cvs_log(LP_TRACE, "cvs_base_handle(%s)", cf->file_path);