Ignore:
Timestamp:
Sep 27, 2007, 12:21:18 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix bug #197 (based on an initial patch of Scott Cummings)
  • Fix a bug where df was using locale to print messages and wasn't filtered correctly
  • mkdtemp checked in configure
  • reset_bkpinfo called as early as possible by both main program.
  • It creates a tmpdir cleanly with mkdtemp in setup_tmpdir subfunction, which takes in account TMPIR and TMP env var. Remains to see what tmpfs does and tests
  • configure.in should also be filtered.
  • Remove g_bkpinfo_DONTUSETHIS
  • remove bkpinfo also from header files
  • Render bkpinfo global (potential issue on thread, but should not be a problem as that structure is indeed static during archive)
  • Apply patch from Andree Leidenfrost, modified a bit to use bkpinfo->tmpdir instead of /tmp or MINDI_CACHE when appropriate. Fix security issues in mondo. Thanks al ot Andree for catching all those issues.
  • /tmp => /var/log for mondorestore.log in mindi
  • Update linux terminfo to fix a color issue (Andree Leidenfrost)
  • Removes useless log file (Andree Leidenfrost)
  • replace vi with find_my_editor during restore (Andree Leidenfrost)
  • sync in bg in mindi (VMWare issue to look at)
  • mindi/mindi-busybox have a different version than mondo for pb
  • PB-SUF also added to spec file
  • Fix a bug for pb build (omission of PB-SUF declaration)

(merge -r1631:1662 $SVN_M/branches/2.2.5)

File:
1 edited

Legend:

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

    r1580 r1663  
    44
    55extern void free_MR_global_filenames(void);
    6 extern void get_cfg_file_from_archive_or_bust(struct s_bkpinfo *);
     6extern void get_cfg_file_from_archive_or_bust();
    77extern bool is_file_in_list(char *, char *, char *);    /* needle, haystack, preamble */
    8 extern int iso_fiddly_bits(struct s_bkpinfo *bkpinfo, bool nuke_me_please);
     8extern int iso_fiddly_bits(bool nuke_me_please);
    99extern void kill_petris(void);
    10 extern int mount_cdrom(struct s_bkpinfo *bkpinfo);
     10extern int mount_cdrom();
    1111extern int mount_all_devices(struct mountlist_itself *, bool);
    1212extern void protect_against_braindead_sysadmins(void);
    13 extern int read_cfg_file_into_bkpinfo(char *cfg_file,
    14                                       struct s_bkpinfo *bkpinfo);
    15 struct s_node *process_filelist_and_biggielist(struct s_bkpinfo *);
     13extern int read_cfg_file_into_bkpinfo(char *cfg_file);
     14struct s_node *process_filelist_and_biggielist();
    1615extern int backup_crucial_file(char *path_root, char *filename);
    1716extern int run_boot_loader(bool);
     
    2423extern void streamline_changes_file(char *, char *);
    2524extern void set_signals(int on);
    26 extern void setup_MR_global_filenames(struct s_bkpinfo *bkpinfo);
     25extern void setup_MR_global_filenames();
    2726extern void terminate_daemon(int);
    2827extern void termination_in_progress(int);
    2928extern int unmount_all_devices(struct mountlist_itself *);
    30 extern int get_cfg_file_from_archive(struct s_bkpinfo *bkpinfo);
     29extern int get_cfg_file_from_archive();
    3130extern int
    32 extract_config_file_from_ramdisk(struct s_bkpinfo *bkpinfo,
     31extract_config_file_from_ramdisk(
    3332                                 char *ramdisk_fname,
    3433                                 char *output_cfg_file,
Note: See TracChangeset for help on using the changeset viewer.