version 1.147, 2009/02/15 12:58:01 |
version 1.148, 2010/07/23 08:31:19 |
|
|
{ "merge", merge_main, merge_usage }, |
{ "merge", merge_main, merge_usage }, |
}; |
}; |
|
|
struct rcs_wklhead rcs_temp_files; |
struct wklhead temp_files; |
|
|
void sighdlr(int); |
void sighdlr(int); |
static void rcs_attach_symbol(RCSFILE *, const char *); |
static void rcs_attach_symbol(RCSFILE *, const char *); |
|
|
void |
void |
sighdlr(int sig) |
sighdlr(int sig) |
{ |
{ |
rcs_worklist_clean(&rcs_temp_files, rcs_worklist_unlink); |
worklist_clean(&temp_files, worklist_unlink); |
_exit(1); |
_exit(1); |
} |
} |
|
|
|
|
|
|
ret = -1; |
ret = -1; |
rcs_optind = 1; |
rcs_optind = 1; |
SLIST_INIT(&rcs_temp_files); |
SLIST_INIT(&temp_files); |
|
|
cmd_argc = build_cmd(&cmd_argv, argv, argc); |
cmd_argc = build_cmd(&cmd_argv, argv, argc); |
|
|
|
|
} |
} |
|
|
/* clean up temporary files */ |
/* clean up temporary files */ |
rcs_worklist_run(&rcs_temp_files, rcs_worklist_unlink); |
worklist_run(&temp_files, worklist_unlink); |
|
|
exit(ret); |
exit(ret); |
} |
} |