Ignore:
Timestamp:
Feb 9, 2007, 12:58:33 AM (17 years ago)
Author:
Bruno Cornec
Message:

Fix a compiler error on libmondo-fork.c
Add option -fno-strict-aliasing to gcc to avoid a useless warning with gcc < 4.2

File:
1 edited

Legend:

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

    r1113 r1115  
    181181    char *callstr = NULL;
    182182    char *incoming = NULL;
     183    char *tmp = NULL;
    183184
    184185    /*@ int ********************************************************* */
     
    218219
    219220    len = (int) strlen(program);
     221    malloc_string(tmp);
    220222    for (i = 0; i < 35 - len / 2; i++) {
    221223        tmp[i] = '-';
     
    229231    }
    230232    strcpy(initial_label, tmp);
     233    mr_free(tmp);
     234
    231235    res = system(callstr);
    232236    if (((res == 0) && log_if_success) || ((res != 0) && log_if_failure)) {
Note: See TracChangeset for help on using the changeset viewer.