Changeset 1659 in MondoRescue for branches/2.2.5


Ignore:
Timestamp:
Sep 25, 2007, 3:09:52 AM (17 years ago)
Author:
Bruno Cornec
Message:

Fix a seg fault introduced by last patch

Location:
branches/2.2.5/mondo/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/common/libmondo-devices.c

    r1656 r1659  
    25402540    log_it("bkpinfo->scratchdir is being set to %s", bkpinfo->scratchdir);
    25412541
    2542     sprintf(g_erase_tmpdir_and_scratchdir, "rm -Rf %s %s", bkpinfo->tmpdir,
    2543             bkpinfo->scratchdir);
    2544 
    25452542    sprintf(command, "rm -Rf %s/tmp.mondo.* %s/mondo.scratch.*", tmp, tmp);
    25462543    paranoid_system(command);
  • branches/2.2.5/mondo/src/mondoarchive/main.c

    r1652 r1659  
    540540    system(g_erase_tmpdir_and_scratchdir);
    541541
    542     /* assemble comand string for deletion of Mondo's tmp directory */
     542    /* assemble command string for deletion of Mondo's tmp directory */
    543543    sprintf(tmp, "rm -Rf %s", bkpinfo->tmpdir);
    544544   
  • branches/2.2.5/mondo/src/mondoarchive/mondo-cli.c

    r1656 r1659  
    173173extern bool g_skip_floppies;    ///< Whether to skip the creation of boot disks
    174174extern char g_startdir[MAX_STR_LEN];    ///< ????? @bug ?????
    175 extern char g_erase_tmpdir_and_scratchdir[MAX_STR_LEN];
    176175extern char g_tmpfs_mountpt[MAX_STR_LEN];
    177176extern bool g_sigpipe;
Note: See TracChangeset for help on using the changeset viewer.