Changeset 1274 for branches/2.2.2/mondo


Ignore:
Timestamp:
Mar 27, 2007, 12:41:17 AM (13 years ago)
Author:
bruno
Message:
  • Fix mkchangelog.pl compilation error
  • Various Valgrind fixes
Location:
branches/2.2.2/mondo/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mondo/src/common/libmondo-archive.c

    r1261 r1274  
    34863486
    34873487    (void) fwrite((void *) &biggiestruct, 1, sizeof(biggiestruct), fout);
    3488     paranoid_fclose(fout);
     3488    fclose(fout);
    34893489    length = totallength / optimal_set_size / 1024;
    34903490    log_msg(1, "Opening in %s; slicing it and writing to CD/tape",
  • branches/2.2.2/mondo/src/common/libmondo-tools.c

    r1236 r1274  
    12661266        value[0] = '\0';
    12671267        return (1);
    1268     } else if (strstr(value, "/dev/") && strstr(value, "t0")
     1268    } else if (value != NULL) && (strstr(value, "/dev/") && strstr(value, "t0")
    12691269               && !strcmp(label, "media-dev")) {
    12701270        log_msg(2, "FYI, I shan't read new value for %s - already got %s",
  • branches/2.2.2/mondo/src/common/newt-specific.c

    r928 r1274  
    557557                    (void) fgets(err_log_lines[i], MAX_NEWT_COMMENT_LEN,
    558558                                 fin);
     559                    /* Commented to make valgrind happy and avoid crash
    559560                    strip_spaces(err_log_lines[i]);
     561                    */
    560562                    if (!strncmp(err_log_lines[i], "root:", 5)) {
    561563                        strcpy(tmp, err_log_lines[i] + 6);
  • branches/2.2.2/mondo/src/mondoarchive/main.c

    r1236 r1274  
    323323    welcome_to_mondoarchive();
    324324    distro_specific_kludges_at_start_of_mondoarchive();
    325     sprintf(g_erase_tmpdir_and_scratchdir, "rm -Rf %s %s", bkpinfo->tmpdir,
    326             bkpinfo->scratchdir);
    327325    g_kernel_version = get_kernel_version();
    328326
Note: See TracChangeset for help on using the changeset viewer.