Changeset 2836


Ignore:
Timestamp:
Jun 25, 2011, 5:10:35 PM (8 years ago)
Author:
bruno
Message:
  • Fix 485 by replacing a wrong call to mr_asprintf which was provoking core dumped.
Location:
branches/2.2.9
Files:
2 edited

Legend:

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

    r2774 r2836  
    20832083                    mr_strcat(bkpinfo->exclude_paths,"|%s",mounted_on_dsf);
    20842084                } else {
    2085                     mr_asprintf(bkpinfo->exclude_paths,"%s",mounted_on_dsf);
     2085                    mr_asprintf(&(bkpinfo->exclude_paths),"%s",mounted_on_dsf);
    20862086                }
    20872087                if (bkpinfo->exclude_devs) {
    20882088                    mr_strcat(bkpinfo->exclude_devs,"|%s",token);
    20892089                } else {
    2090                     mr_asprintf(bkpinfo->exclude_devs,"%s",token);
     2090                    mr_asprintf(&(bkpinfo->exclude_devs),"%s",token);
    20912091                }
    20922092            }
     
    21022102                    mr_strcat(bkpinfo->exclude_paths, "|%s",not_mounted_on_dsf);
    21032103                } else {
    2104                     mr_asprintf(bkpinfo->exclude_paths,"%s",not_mounted_on_dsf);
     2104                    mr_asprintf(&(bkpinfo->exclude_paths),"%s",not_mounted_on_dsf);
    21052105                }
    21062106            }
  • branches/2.2.9/tools/quality

    r2633 r2836  
    4949cat /tmp/mondo.quality
    5050echo "mondorescue uses : `cat /tmp/mondo.quality | wc -l` mr_asprintf without \""
     51pbg mr_asprintf | grep -vE '|mr_mem|quality|mr_asprintf\(&' > /tmp/mondo.quality
     52cat /tmp/mondo.quality
     53echo "mondorescue uses : `cat /tmp/mondo.quality | wc -l` mr_asprintf without &"
    5154echo " "
    5255echo "Splint: "
Note: See TracChangeset for help on using the changeset viewer.