Sep 27, 2007, 12:21:18 PM (12 years ago)
Bruno Cornec
  • 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)

1 edited


  • branches/stable/mondo/src/mondorestore/mr-externs.h

    r1200 r1663  
    1616extern bool ask_me_yes_or_no(char *);
    1717extern char *calc_checksum_of_file(char *);
    18 extern int closein_tape(struct s_bkpinfo *);
     18extern int closein_tape();
    1919extern void close_evalcall_form(void);
    2020extern char *call_program_and_get_last_line_of_output(char *);
    5151extern void open_evalcall_form(char *);
    5252extern void open_progress_form(char *, char *, char *, char *, long);
    53 extern int openin_cdstream(struct s_bkpinfo *);
    54 extern int openin_tape(struct s_bkpinfo *);
     53extern int openin_cdstream();
     54extern int openin_tape();
    5555extern int partition_device(char *, int, int, char *, long);
    5656extern int partition_device_with_fdisk(char *, int, int, char *, long);
    6161extern bool popup_and_get_string(char *, char *, char *, int);
    6262extern void setup_newt_stuff(void);
    63 extern void reset_bkpinfo(struct s_bkpinfo *);
     63extern void reset_bkpinfo();
    6464extern int read_cfg_var(char *, char *, char *);
    65 extern int read_file_from_stream_to_file(struct s_bkpinfo *, char *,
     65extern int read_file_from_stream_to_file(char *,
    6666                                         long long);
    67 extern int read_file_from_stream_to_stream(struct s_bkpinfo *, FILE *,
     67extern int read_file_from_stream_to_stream(FILE *,
    6868                                           long long);
    69 extern int read_file_from_stream_FULL(struct s_bkpinfo *, char *, FILE *,
     69extern int read_file_from_stream_FULL(char *, FILE *,
    7070                                      long long);
    7171extern int read_header_block_from_stream(long long *, char *, int *);
    7878extern void update_evalcall_form(int);
    7979extern void update_progress_form(char *);
    80 extern int verify_tape_backups(struct s_bkpinfo *);
     80extern int verify_tape_backups();
    8181extern char which_restore_mode(void);
    8282extern int which_format_command_do_i_need(char *, char *);
    9191                                                                mountlist_itself
    9292                                                                *mountlist);
    93 extern int get_cfg_file_from_archive(struct s_bkpinfo *);
     93extern int get_cfg_file_from_archive();
Note: See TracChangeset for help on using the changeset viewer.