diff options
Diffstat (limited to 'usr.bin/cvs/cvs.c')
-rw-r--r-- | usr.bin/cvs/cvs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c index 2c844099ed5..ae7c8ab32d2 100644 --- a/usr.bin/cvs/cvs.c +++ b/usr.bin/cvs/cvs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.c,v 1.43 2005/03/24 01:03:41 joris Exp $ */ +/* $OpenBSD: cvs.c,v 1.44 2005/03/24 01:21:49 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -41,6 +41,7 @@ #include "cvs.h" #include "log.h" #include "file.h" +#include "strtab.h" extern char *__progname; @@ -338,6 +339,8 @@ main(int argc, char **argv) (void)cvs_log_filter(LP_FILTER_UNSET, LP_DEBUG); #endif + cvs_strtab_init(); + /* check environment so command-line options override it */ if ((envstr = getenv("CVS_RSH")) != NULL) cvs_rsh = envstr; @@ -431,6 +434,8 @@ main(int argc, char **argv) if (cvs_msg != NULL) free(cvs_msg); + cvs_strtab_cleanup(); + return (ret); } |