Ignore:
Timestamp:
Jul 30, 2006, 4:06:39 PM (14 years ago)
Author:
Bruno Cornec
Message:

merge -r686:728 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-archive.c

    r689 r729  
    30763076    } else {
    30773077        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        }
    30793083        if (!(fin = popen(command, "r"))) {
    30803084            log_OS_error("Unable to popen-in command");
Note: See TracChangeset for help on using the changeset viewer.