version 1.149, 2008/06/17 11:05:39 |
version 1.150, 2008/06/21 15:39:15 |
|
|
|
|
#include "cvs.h" |
#include "cvs.h" |
#include "remote.h" |
#include "remote.h" |
|
#include "hash.h" |
|
|
extern char *__progname; |
extern char *__progname; |
|
|
|
|
|
|
extern CVSENTRIES *current_list; |
extern CVSENTRIES *current_list; |
|
|
|
struct hash_table created_directories; |
|
struct hash_table created_cvs_directories; |
|
|
void |
void |
sighandler(int sig) |
sighandler(int sig) |
{ |
{ |
|
|
TAILQ_INIT(&cvs_variables); |
TAILQ_INIT(&cvs_variables); |
SLIST_INIT(&repo_locks); |
SLIST_INIT(&repo_locks); |
SLIST_INIT(&temp_files); |
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 */ |
/* check environment so command-line options override it */ |
if ((envstr = getenv("CVS_RSH")) != NULL) |
if ((envstr = getenv("CVS_RSH")) != NULL) |