Changeset 863 in MondoRescue for trunk/mondo
- Timestamp:
- Oct 2, 2006, 12:26:44 AM (17 years ago)
- Location:
- trunk/mondo/src/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/common/libmondo-filelist.c
r848 r863 457 457 } 458 458 log_msg(8, "Analyzing %s", file_to_analyze); 459 asprintf(&tmp, "%s 2>> /dev/null", syscall_sprintf); 460 asprintf(&syscall, tmp, file_to_analyze); 461 paranoid_free(tmp); 459 /* BERLIOS : to be checked */ 460 asprintf(&syscall, "%s %s 2>> /dev/null", syscall_sprintf,mr_stresc(file_to_analyze, "`$\\\"", '\\')); 462 461 call_exe_and_pipe_output_to_fd(syscall, pout); 463 462 paranoid_free(syscall); -
trunk/mondo/src/common/libmondo-string.c
r783 r863 93 93 for (p = in_out; *p == ' '; p++); 94 94 asprintf(&scratch, p); 95 strip_spaces (scratch); 95 96 len = (int) strlen(scratch); 96 97 mid = width / 2; … … 103 104 paranoid_free(scratch); 104 105 in_out = out; 106 for (i = x + len ; i < width - 1; i++) { 107 in_out[i] = ' '; 108 } 109 in_out[i] = '\0'; 105 110 } 106 111 -
trunk/mondo/src/common/mr_string.c
r839 r863 67 67 // Found it, skip the rest. 68 68 cnt++; 69 inptr++; 69 70 break; 70 71 }
Note:
See TracChangeset
for help on using the changeset viewer.