Ignore:
Timestamp:
Aug 18, 2009, 3:19:15 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3336@localhost: bruno | 2009-08-11 16:32:36 +0200

  • bkpinfo->media_device, bkpinfo->nfs_remote_dir, and bkpinfo->nfs_mount are now dynamically allocated
  • new interfaces for find_cdrom_device(), find_tape_device_and_size(), find_dvd_device(), find_cdrw_device(), set_dev_to_this_if_rx_OK() and read_cfg_var() which allocate the string now returned
  • Better differentiation between ISO and NFS iso file names construction
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-files.c

    r2324 r2325  
    622622 * @return The return value of @c mkdir.
    623623 */
    624 int make_hole_for_dir(char *outdir_fname)
     624int make_hole_for_dir(const char *outdir_fname)
    625625{
    626626    char *tmp = NULL;
     
    10971097    char *p;
    10981098
     1099    if (! bkpinfo->nfs_mount) {
     1100        fatal_error("No nfs_mount found !");
     1101    }
     1102
    10991103    log_it("Storing NFS configuration");
    11001104    mr_asprintf(tmp, "%s", bkpinfo->nfs_mount);
Note: See TracChangeset for help on using the changeset viewer.