Changeset 2200


Ignore:
Timestamp:
May 12, 2009, 11:18:46 AM (11 years ago)
Author:
Bruno Cornec
Message:

Also escapes () for file names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-filelist.c

    r2198 r2200  
    483483        }
    484484        log_msg(8, "Analyzing %s", file_to_analyze);
    485         tmp = mr_stresc(file_to_analyze, "`$\\\"", '\\');
     485        tmp = mr_stresc(file_to_analyze, "`$\\\"()", '\\');
    486486        asprintf(&strtmp, syscall_sprintf, tmp);
    487487        paranoid_free(tmp);
     
    13781378    time_t this_time;
    13791379
    1380     dir = mr_stresc(dir1, "`$\\\"", '\\');
     1380    dir = mr_stresc(dir1, "`$\\\"()", '\\');
    13811381    p = strrchr(dir, '/');
    13821382    if (p) {
Note: See TracChangeset for help on using the changeset viewer.