Ignore:
Timestamp:
Jul 22, 2009, 2:11:26 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Fix a printing error in mindi for the tar command
  • Fix all mr_asprintf which had no second param as a string

(report bug fix done originaly in 2.2.9)

File:
1 edited

Legend:

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

    r2287 r2291  
    13931393#if linux
    13941394        // 2.6 has /sys as a proc-type thing -- must be excluded
    1395         mr_asprintf(&strtmp,
    1396              "find '%s' -fstype mvfs -prune -o -fstype devpts -prune -o -fstype tmpfs -prune -o -fstype proc -prune -o -fstype sysfs -prune -o %s -type d -print > %s 2> /dev/null",
    1397              dir, find_excludes, g_skeleton_filelist);
     1395        mr_asprintf(&strtmp, "find '%s' -fstype mvfs -prune -o -fstype devpts -prune -o -fstype tmpfs -prune -o -fstype proc -prune -o -fstype sysfs -prune -o %s -type d -print > %s 2> /dev/null", dir, find_excludes, g_skeleton_filelist);
    13981396#else
    13991397        // On BSD, for example, /sys is the kernel sources -- don't exclude
    1400         mr_asprintf(&strtmp,
    1401              "find '%s' -fstype mvfs -prune -o -path /proc -prune -o %s -type d -print > %s 2> /dev/null",
    1402                 dir, find_excludes, g_skeleton_filelist);
     1398        mr_asprintf(&strtmp, "find '%s' -fstype mvfs -prune -o -path /proc -prune -o %s -type d -print > %s 2> /dev/null", dir, find_excludes, g_skeleton_filelist);
    14031399#endif
    14041400        paranoid_free(find_excludes);
     
    14901486                                counter = 0;
    14911487                                uberctr++;
    1492                                 mr_asprintf(&tmp, " %c ",
    1493                                         special_dot_char(uberctr));
     1488                                mr_asprintf(&tmp, " %c ", special_dot_char(uberctr));
    14941489#ifndef _XWIN
    14951490                                if (!g_text_mode) {
Note: See TracChangeset for help on using the changeset viewer.