Changeset 2334 in MondoRescue for branches/2.2.10/mondo/test/test-string.c


Ignore:
Timestamp:
Aug 18, 2009, 5:28:18 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3369@localhost: bruno | 2009-08-18 16:57:27 +0200

  • Transform bout 100 strcpy in dyn. allocation. Quality is improving
  • function figure_out_kernel_path_interactively_if_necessary now return a dynamically allocated string
  • mondoarchive checked with valgrind in text an newt modes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/test/test-string.c

    r2310 r2334  
    2222    char *string = NULL;
    2323
    24     mr_asprintf(&string, "%s", "md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]\n");
     24    mr_asprintf(string, "%s", "md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]\n");
    2525    fprintf(stdout, "string=|%s|\n", string);
    2626    token = mr_strtok(string, delims, &lastpos);
Note: See TracChangeset for help on using the changeset viewer.