Changeset 94 in MondoRescue for trunk/mondo/mondo/common/libmondo-files.c


Ignore:
Timestamp:
Oct 29, 2005, 1:08:39 AM (18 years ago)
Author:
bcornec
Message:

x86_64 support (begining)
find_and_store_mondoarchives_home interface change
libmondo-tools.c modified with asprintf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-files.c

    r87 r94  
    11121112                        "Copying Mondo's core files to the scratch directory");
    11131113
     1114    /* BERLIOS: Why do we need to do it here as well ? */
    11141115    log_msg(4, "g_mondo_home='%s'", g_mondo_home);
    1115     if (strlen(g_mondo_home) < 2) {
    1116         find_and_store_mondoarchives_home(g_mondo_home);
     1116    if ((g_mondo_home == NULL) || strlen(g_mondo_home) < 2) {
     1117        paranoid_free(g_mondo_home);
     1118        g_mondo_home = find_and_store_mondoarchives_home();
    11171119    }
    11181120    sprintf(command, CP_BIN " --parents -pRdf %s %s", g_mondo_home,
Note: See TracChangeset for help on using the changeset viewer.