=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/cvs.c,v retrieving revision 1.150 retrieving revision 1.151 diff -c -r1.150 -r1.151 *** src/usr.bin/cvs/cvs.c 2008/06/21 15:39:15 1.150 --- src/usr.bin/cvs/cvs.c 2010/07/23 08:31:19 1.151 *************** *** 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 --- 1,4 ---- ! /* $OpenBSD: cvs.c,v 1.151 2010/07/23 08:31:19 ray Exp $ */ /* * Copyright (c) 2006, 2007 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau *************** *** 73,79 **** __dead void usage(void); static void cvs_read_rcfile(void); ! struct cvs_wklhead temp_files; void sighandler(int); volatile sig_atomic_t cvs_quit = 0; --- 73,79 ---- __dead void usage(void); static void cvs_read_rcfile(void); ! struct wklhead temp_files; void sighandler(int); volatile sig_atomic_t cvs_quit = 0; *************** *** 104,113 **** cvs_cleanup(void) { cvs_log(LP_TRACE, "cvs_cleanup: removing locks"); ! cvs_worklist_run(&repo_locks, cvs_worklist_unlink); cvs_log(LP_TRACE, "cvs_cleanup: removing temp files"); ! cvs_worklist_run(&temp_files, cvs_worklist_unlink); if (cvs_server_path != NULL) { if (cvs_rmdir(cvs_server_path) == -1) --- 104,113 ---- cvs_cleanup(void) { cvs_log(LP_TRACE, "cvs_cleanup: removing locks"); ! worklist_run(&repo_locks, worklist_unlink); cvs_log(LP_TRACE, "cvs_cleanup: removing temp files"); ! worklist_run(&temp_files, worklist_unlink); if (cvs_server_path != NULL) { if (cvs_rmdir(cvs_server_path) == -1)