Ignore:
Timestamp:
Jul 22, 2009, 2:03:44 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
File:
1 edited

Legend:

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

    r2241 r2290  
    14011401#if linux
    14021402        // 2.6 has /sys as a proc-type thing -- must be excluded
    1403         mr_asprintf(&strtmp,
    1404              "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",
    1405              dir, find_excludes, g_skeleton_filelist);
     1403        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);
    14061404#else
    14071405        // On BSD, for example, /sys is the kernel sources -- don't exclude
    1408         mr_asprintf(&strtmp,
    1409              "find '%s' -fstype mvfs -prune -o -path /proc -prune -o %s -type d -print > %s 2> /dev/null",
    1410                 dir, find_excludes, g_skeleton_filelist);
     1406        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);
    14111407#endif
    14121408        paranoid_free(find_excludes);
     
    14981494                                counter = 0;
    14991495                                uberctr++;
    1500                                 mr_asprintf(&tmp, " %c ",
    1501                                         special_dot_char(uberctr));
     1496                                mr_asprintf(&tmp, " %c ", special_dot_char(uberctr));
    15021497#ifndef _XWIN
    15031498                                if (!g_text_mode) {
Note: See TracChangeset for help on using the changeset viewer.