Ignore:
Timestamp:
Feb 11, 2007, 7:04:12 PM (13 years ago)
Author:
Bruno Cornec
Message:

memory tests improvements
useless code removed from libmondo-fork.c
more merges for libmondo-archive.c

File:
1 edited

Legend:

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

    r1138 r1139  
    217217    }                           /* single '=' is intentional */
    218218
    219 
    220     len = (int) strlen(program);
    221     malloc_string(tmp);
    222     for (i = 0; i < 35 - len / 2; i++) {
    223         tmp[i] = '-';
    224     }
    225     tmp[i] = '\0';
    226     strcat(tmp, " ");
    227     strcat(tmp, program);
    228     strcat(tmp, " ");
    229     for (i = 0; i < 35 - len / 2; i++) {
    230         strcat(tmp, "-");
    231     }
    232     mr_free(tmp);
    233 
    234219    res = system(callstr);
    235220    if (((res == 0) && log_if_success) || ((res != 0) && log_if_failure)) {
Note: See TracChangeset for help on using the changeset viewer.