Changeset 729 in MondoRescue for trunk/mondo/mondo/common/libmondo-archive.c
- Timestamp:
- Jul 30, 2006, 4:06:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-archive.c
r689 r729 3076 3076 } else { 3077 3077 file_to_openin = biggie_filename; 3078 asprintf(&command, "md5sum '%s'", biggie_filename); 3078 if (strchr(biggie_filename,'\'') != NULL) { 3079 asprintf(&command, "md5sum \"%s\"", biggie_filename); 3080 } else { 3081 asprintf(&command, "md5sum '%s'", biggie_filename); 3082 } 3079 3083 if (!(fin = popen(command, "r"))) { 3080 3084 log_OS_error("Unable to popen-in command");
Note:
See TracChangeset
for help on using the changeset viewer.