Ignore:
Timestamp:
Feb 12, 2007, 2:05:43 AM (13 years ago)
Author:
Bruno Cornec
Message:

Try to fix some valgrind reports (note that this version still doesn't work)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/main.c

    r1132 r1140  
    216216    }
    217217
     218    /* BERLIOS: Hardcoded to be improved */
     219    unlink(MONDO_CACHE"/mindi.conf");
     220    unlink(MONDO_CACHE"/mondorestore.cfg");
     221
    218222    /* Configure the bkpinfo structure, global file paths, etc. */
    219223    g_main_pid = getpid();
     
    227231    welcome_to_mondoarchive();
    228232    distro_specific_kludges_at_start_of_mondoarchive();
    229     sprintf(g_erase_tmpdir_and_scratchdir, "rm -Rf %s %s", bkpinfo->tmpdir,
    230             bkpinfo->scratchdir);
    231233    g_kernel_version = get_kernel_version();
    232234
     
    327329            ("Pre-param initialization phase failed. Please review the error messages above, make the specified changes, then try again. Exiting...");
    328330    }
    329 
    330 /* Process command line, if there is one. If not, ask user for info. */
     331    sprintf(g_erase_tmpdir_and_scratchdir, "rm -Rf %s %s", bkpinfo->tmpdir,
     332            bkpinfo->scratchdir);
     333
     334    /* Process command line, if there is one. If not, ask user for info. */
    331335    if (argc == 1) {
    332336        g_text_mode = FALSE;
Note: See TracChangeset for help on using the changeset viewer.