Changeset 1213 in MondoRescue for branches/stable/mondo/src/mondorestore


Ignore:
Timestamp:
Feb 26, 2007, 2:04:43 PM (18 years ago)
Author:
Bruno Cornec
Message:

Removal of g_mondo_home useless and used MONDO_SHARE instead

Location:
branches/stable/mondo/src/mondorestore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondo-restore-EXT.h

    r1200 r1213  
    2222extern char *g_mondo_cfg_file;
    2323extern char *g_mountlist_fname;
    24 extern char *g_mondo_home;
    2524
    2625
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c

    r1196 r1213  
    3838extern char *g_mondo_cfg_file;  // where m*ndo-restore.cfg (the config file) is stored
    3939extern char *g_mountlist_fname; // where mountlist.txt (the mountlist file) is stored
    40 extern char *g_mondo_home;      // homedir of Mondo; usually /usr/local/share/mondo
    4140
    4241extern t_bkptype g_backup_media_type;
     
    6463    mr_free(g_mondo_cfg_file);
    6564    mr_free(g_mountlist_fname);
    66     mr_free(g_mondo_home);
    6765    mr_free(g_tmpfs_mountpt);
    6866    mr_free(g_isodir_device);
     
    19381936    malloc_string(g_mondo_cfg_file);
    19391937    malloc_string(g_mountlist_fname);
    1940     malloc_string(g_mondo_home);
    19411938    malloc_string(g_tmpfs_mountpt);
    19421939    malloc_string(g_isodir_device);
  • branches/stable/mondo/src/mondorestore/mondorestore.c

    r1212 r1213  
    27782778    malloc_libmondo_global_strings();
    27792779
    2780     strcpy(g_mondo_home,
    2781            call_program_and_get_last_line_of_output("which mondorestore"));
    27822780    sprintf(g_tmpfs_mountpt, "/tmp/tmpfs");
    27832781    make_hole_for_dir(g_tmpfs_mountpt);
Note: See TracChangeset for help on using the changeset viewer.