=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/cvs.c,v retrieving revision 1.149 retrieving revision 1.150 diff -c -r1.149 -r1.150 *** src/usr.bin/cvs/cvs.c 2008/06/17 11:05:39 1.149 --- src/usr.bin/cvs/cvs.c 2008/06/21 15:39:15 1.150 *************** *** 1,4 **** ! /* $OpenBSD: cvs.c,v 1.149 2008/06/17 11:05:39 joris Exp $ */ /* * Copyright (c) 2006, 2007 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau --- 1,4 ---- ! /* $OpenBSD: cvs.c,v 1.150 2008/06/21 15:39:15 joris Exp $ */ /* * Copyright (c) 2006, 2007 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau *************** *** 37,42 **** --- 37,43 ---- #include "cvs.h" #include "remote.h" + #include "hash.h" extern char *__progname; *************** *** 80,85 **** --- 81,89 ---- extern CVSENTRIES *current_list; + struct hash_table created_directories; + struct hash_table created_cvs_directories; + void sighandler(int sig) { *************** *** 188,193 **** --- 192,200 ---- TAILQ_INIT(&cvs_variables); SLIST_INIT(&repo_locks); SLIST_INIT(&temp_files); + + hash_table_init(&created_directories, 100); + hash_table_init(&created_cvs_directories, 100); /* check environment so command-line options override it */ if ((envstr = getenv("CVS_RSH")) != NULL)