Ignore:
Timestamp:
Sep 27, 2007, 12:21:18 PM (17 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/common/libmondo-stream.h

    r684 r1663  
    55
    66
    7 int closein_tape(struct s_bkpinfo *bkpinfo);
    8 int closeout_tape(struct s_bkpinfo *bkpinfo);
     7int closein_tape();
     8int closeout_tape();
    99int find_tape_device_and_size(char *dev, char *siz);
    1010void insist_on_this_tape_number(int tapeno);
    1111void log_tape_pos(void);
    1212int maintain_collection_of_recent_archives(char *td, char *latest_fname);
    13 int openin_cdstream(struct s_bkpinfo *bkpinfo);
    14 int openin_tape(struct s_bkpinfo *bkpinfo);
     13int openin_cdstream();
     14int openin_tape();
    1515int openout_cdstream(char *cddev, int speed);
    1616int openout_tape(char *tapedev, long internal_tape_block_size);
    17 int read_file_from_stream_to_file(struct s_bkpinfo *bkpinfo, char *outfile,
     17int read_file_from_stream_to_file(char *outfile,
    1818                                  long long size);
    19 int read_file_from_stream_to_stream(struct s_bkpinfo *bkpinfo, FILE * fout,
     19int read_file_from_stream_to_stream(FILE * fout,
    2020                                    long long size);
    21 int read_file_from_stream_FULL(struct s_bkpinfo *bkpinfo, char *outfname,
     21int read_file_from_stream_FULL(char *outfname,
    2222                               FILE * foutstream, long long orig_size);
    2323int read_header_block_from_stream(long long *plen, char *filename,
     
    2929int skip_incoming_files_until_we_find_this_one(char
    3030                                               *the_file_I_was_reading);
    31 int start_to_read_from_next_tape(struct s_bkpinfo *bkpinfo);
    32 int start_to_write_to_next_tape(struct s_bkpinfo *bkpinfo);
    33 int write_backcatalog_to_tape(struct s_bkpinfo *bkpinfo);
     31int start_to_read_from_next_tape();
     32int start_to_write_to_next_tape();
     33int write_backcatalog_to_tape();
    3434int write_data_disks_to_stream(char *fname);
    35 int write_file_to_stream_from_file(struct s_bkpinfo *bkpinfo,
     35int write_file_to_stream_from_file(
    3636                                   char *infile);
    3737int write_header_block_to_stream(off_t length_of_incoming_file,
    3838                                 char *filename, int control_char);
    3939void wrong_marker(int should_be, int it_is);
    40 int closein_cdstream(struct s_bkpinfo *bkpinfo);
    41 int read_EXAT_files_from_tape(struct s_bkpinfo *bkpinfo,
     40int closein_cdstream();
     41int read_EXAT_files_from_tape(
    4242                              long long *ptmp_size, char *tmp_fname,
    4343                              int *pctrl_chr, char *xattr_fname,
    4444                              char *acl_fname);
    45 int write_EXAT_files_to_tape(struct s_bkpinfo *bkpinfo, char *xattr_fname,
     45int write_EXAT_files_to_tape(char *xattr_fname,
    4646                             char *acl_fname);
Note: See TracChangeset for help on using the changeset viewer.