Changeset 560 in MondoRescue


Ignore:
Timestamp:
May 20, 2006, 5:15:40 PM (18 years ago)
Author:
bcornec
Message:

memmove removed for raid management in favour of asprintf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/libmondo-raid.c

    r559 r560  
    10421042    pos = string;
    10431043    while (*pos == ' ') *pos++;
    1044     memmove(string, pos, strlen(string));
     1044    asprintf(&string, pos);
     1045    //
    10451046    // if we have newline after only spaces, this is a blank line, update
    10461047    // counters, otherwise do normal parsing
Note: See TracChangeset for help on using the changeset viewer.