Changeset 1043 in MondoRescue for trunk/mondo/src/common/libmondo-filelist.c


Ignore:
Timestamp:
Jan 8, 2007, 11:31:22 PM (14 years ago)
Author:
Bruno Cornec
Message:

merge -r978:1042 $SVN_M/branches/stable

File:
1 edited

Legend:

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

    r991 r1043  
    428428    char *syscall;
    429429    char *file_to_analyze = NULL;
     430    char *strtmp = NULL;
    430431    int i;
    431432    size_t n = 0;
     
    452453        log_msg(8, "Analyzing %s", file_to_analyze);
    453454        /* BERLIOS : to be checked */
    454         mr_asprintf(&syscall, "%s %s 2>> /dev/null", syscall_sprintf,mr_stresc(file_to_analyze, "`$\\\"", '\\'));
     455        mr_asprintf(&strtmp, syscall_sprintf, mr_stresc(file_to_analyze, "`$\\\"", '\\'));
     456        mr_asprintf(&syscall, "%s 2>> /dev/null", strtmp);
     457        paranoid_free(strtmp);
    455458        call_exe_and_pipe_output_to_fd(syscall, pout);
    456459        mr_free(syscall);
Note: See TracChangeset for help on using the changeset viewer.