Changeset 1161 in MondoRescue for trunk/mondo/src/common/libmondo-fork.c
- Timestamp:
- Feb 14, 2007, 1:13:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/common/libmondo-fork.c
r1086 r1161 69 69 70 70 /*@ buffers *** */ 71 char *midway_call, *ultimate_call, *tmp, *command, 72 *cd_number_str; 73 char *p; 71 char *midway_call, *ultimate_call, *tmp; 72 char *p = NULL; 73 char *cd_number_str = NULL; 74 char *command = NULL; 75 74 76 75 77 /*@*********** End Variables ***************************************/ … … 80 82 assert_string_is_neither_NULL_nor_zerolength(isofile); 81 83 assert_string_is_neither_NULL_nor_zerolength(logstub); 84 82 85 midway_call = mr_malloc(1200); 83 86 ultimate_call = mr_malloc(1200); … … 260 263 261 264 /*@ buffers **************************************************** */ 262 char *tmp ;263 char *command ;264 char *lockfile ;265 char *tmp = NULL; 266 char *command = NULL; 267 char *lockfile = NULL; 265 268 266 269 /*@ end vars *************************************************** */ … … 304 307 res = pclose(fin); 305 308 /* Log actual pclose errors. */ 306 if (errno) 309 if (errno) { 307 310 mr_msg(5, "pclose err: %d", errno); 311 } 308 312 /* Check if we have a valid status. If we do, extract the called program's exit code. */ 309 313 /* If we don't, highlight this fact by returning -1. */ … … 590 594 591 595 /*@ buffers *********************************************************** */ 592 char *command ;596 char *command = NULL; 593 597 /*@ pointers ********************************************************** */ 594 598 static int chldres = 0;
Note:
See TracChangeset
for help on using the changeset viewer.