[BACK]Return to rcsprog.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rcs

Diff for /src/usr.bin/rcs/rcsprog.c between version 1.147 and 1.148

version 1.147, 2009/02/15 12:58:01 version 1.148, 2010/07/23 08:31:19
Line 60 
Line 60 
         { "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 *);
Line 69 
Line 69 
 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);
 }  }
   
Line 129 
Line 129 
   
         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);
   
Line 151 
Line 151 
                 }                  }
   
         /* 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);
 }  }

Legend:
Removed from v.1.147  
changed lines
  Added in v.1.148