Changeset 1646 in MondoRescue
- Timestamp:
- Sep 24, 2007, 3:07:18 AM (16 years ago)
- Location:
- branches/2.2.5/mondo/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/libmondo-devices.c
r1645 r1646 258 258 259 259 extern bool g_ISO_restore_mode; 260 extern struct s_bkpinfo *g_bkpinfo_DONTUSETHIS;261 260 extern char *g_erase_tmpdir_and_scratchdir; 262 261 extern char *g_selfmounted_isodir; -
branches/2.2.5/mondo/src/common/libmondo-mountlist.c
r1645 r1646 62 62 /*@unused@*/ 63 63 //static char cvsid[] = "$Id$"; 64 65 /**66 * A global copy of @c bkpinfo, to aid in debugging. As the name implies, <em>don't use this</em>.67 * @ingroup globalGroup68 */69 struct s_bkpinfo *g_bkpinfo_DONTUSETHIS = NULL;70 64 71 65 /* Reference to global bkpinfo */ -
branches/2.2.5/mondo/src/common/my-stuff.h
r1522 r1646 429 429 * Free variables and call finish(@p x). 430 430 */ 431 #define paranoid_MR_finish(x) {free_MR_global_filenames (); if (g_bkpinfo_DONTUSETHIS) paranoid_free ( g_bkpinfo_DONTUSETHIS );finish(x); }431 #define paranoid_MR_finish(x) {free_MR_global_filenames (); finish(x); } 432 432 433 433 /** -
branches/2.2.5/mondo/src/mondorestore/mondo-restore-EXT.h
r425 r1646 12 12 extern char *g_isodir_format; 13 13 14 extern struct s_bkpinfo *g_bkpinfo_DONTUSETHIS;15 14 extern char *g_biggielist_txt; 16 15 extern char *g_filelist_full; -
branches/2.2.5/mondo/src/mondorestore/mondo-restore.c
r1645 r1646 40 40 **************************************************************************/ 41 41 extern char *g_tmpfs_mountpt; // declared in libmondo-tools.c 42 extern struct s_bkpinfo *g_bkpinfo_DONTUSETHIS; // used by finish() to free43 // up global bkpinfo struct44 42 extern bool g_text_mode; 45 43 extern FILE *g_fprep; … … 2915 2913 } // newt :-) 2916 2914 if (! 2917 (bkpinfo = g_bkpinfo_DONTUSETHIS = 2918 malloc(sizeof(struct s_bkpinfo)))) { 2915 (bkpinfo = malloc(sizeof(struct s_bkpinfo)))) { 2919 2916 fatal_error("Cannot malloc bkpinfo"); 2920 2917 } -
branches/2.2.5/mondo/src/mondorestore/mondo-rstr-tools.c
r1645 r1646 155 155 extern char *g_mountlist_fname; // where mountlist.txt (the mountlist file) is stored 156 156 extern char *g_mondo_home; // homedir of Mondo; usually /usr/local/share/mondo 157 extern struct s_bkpinfo *g_bkpinfo_DONTUSETHIS;158 157 159 158 extern t_bkptype g_backup_media_type;
Note:
See TracChangeset
for help on using the changeset viewer.