diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-06-28 21:38:10 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-06-28 21:38:10 +0000 |
commit | 407481b866fe55a776965e56142aff89bb3491a9 (patch) | |
tree | b9c46d178fb4b8db7ff03ed4d143f190a533cd3d /usr.bin/cvs/import.c | |
parent | d9f5a5e9b0a4c8a8195c2bee0e55b5edf05c9f10 (diff) |
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/import.c')
-rw-r--r-- | usr.bin/cvs/import.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c index b2034ed006c..5fb877f3d60 100644 --- a/usr.bin/cvs/import.c +++ b/usr.bin/cvs/import.c @@ -1,4 +1,4 @@ -/* $OpenBSD: import.c,v 1.73 2007/06/01 17:47:47 niallo Exp $ */ +/* $OpenBSD: import.c,v 1.74 2007/06/28 21:38:09 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -287,7 +287,7 @@ import_update(struct cvs_file *cf) { int ret; BUF *b1, *b2, *d; - char branch[16]; + char branch[CVS_REV_BUFSZ]; RCSNUM *newrev, *rev, *brev, *hrev; cvs_log(LP_TRACE, "import_update(%s)", cf->file_path); @@ -356,7 +356,7 @@ import_update(struct cvs_file *cf) static void import_tag(struct cvs_file *cf, RCSNUM *branch, RCSNUM *newrev) { - char b[16]; + char b[CVS_REV_BUFSZ]; if (cvs_noexec != 1) { rcsnum_tostr(branch, b, sizeof(b)); |