Changeset 3207 in MondoRescue for branches/3.2


Ignore:
Timestamp:
Dec 10, 2013, 8:49:44 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Add LZMA compression possibility through the GUI
Location:
branches/3.2/mondo/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-archive.c

    r3205 r3207  
    31633163    }
    31643164
    3165     if (bkpinfo->netfs_remote_dir) {
     3165    if (bkpinfo->netfs_remote_dir != NULL) {
    31663166        // NETFS
    31673167        mr_asprintf(isofile, "%s/%s/%s-%d.iso", bkpinfo->isodir, bkpinfo->netfs_remote_dir, bkpinfo->prefix, g_current_media_number);
  • branches/3.2/mondo/src/common/libmondo-devices.c

    r3205 r3207  
    13401340        }
    13411341#ifdef __FreeBSD__
    1342         if (bkpinfo->netfs_remote_dir) {
     1342        if (bkpinfo->netfs_remote_dir != NULL) {
    13431343            // NETFS
    13441344            mr_asprintf(mount_cmd, "/mnt/isodir/%s/%s/%s-%d.iso", bkpinfo->isodir, bkpinfo->netfs_remote_dir, bkpinfo->prefix, g_current_media_number);
     
    13521352        mr_asprintf(mount_cmd, "mount_cd9660 -r %s " MNT_CDROM, mddev);
    13531353#else
    1354         if (bkpinfo->netfs_remote_dir) {
     1354        if (bkpinfo->netfs_remote_dir != NULL) {
    13551355            // NETFS
    13561356            mr_asprintf(mount_cmd, "mount %s/%s/%s-%d.iso -t iso9660 -o loop,ro %s", bkpinfo->isodir, bkpinfo->netfs_remote_dir, bkpinfo->prefix, g_current_media_number, MNT_CDROM);
  • branches/3.2/mondo/src/common/libmondo-verify.c

    r3194 r3207  
    10381038        fatal_error("No iso filename preparation possible");
    10391039    }
    1040     if (bkpinfo->netfs_remote_dir) {
     1040    if (bkpinfo->netfs_remote_dir != NULL) {
    10411041        // NETFS
    10421042        mr_asprintf(fname, "%s/%s/%s-%d.iso", bkpinfo->isodir, bkpinfo->netfs_remote_dir, bkpinfo->prefix, g_current_media_number);
  • branches/3.2/mondo/src/common/newt-specific.c

    r3205 r3207  
    12511251/**
    12521252 * Ask the user which compression type they would like to use.
    1253  * The choices are "bzip2", "gzip", "lzo". NULL for exit
     1253 * The choices are "bzip2", "gzip", "lzo", "lzma". NULL for exit
    12541254 */
    12551255    char *which_compression_type() {
     
    12791279        b5 = newtButton(4, 9, "         Exit        ");
    12801280        myForm = newtForm(NULL, NULL, 0);
    1281         newtFormAddComponents(myForm, b1, b3, b2, b5, NULL);
     1281        newtFormAddComponents(myForm, b1, b3, b2, b4, b5, NULL);
    12821282        b_res = newtRunForm(myForm);
    12831283        newtFormDestroy(myForm);
  • branches/3.2/mondo/src/mondorestore/mondo-rstr-tools.c

    r3205 r3207  
    859859            log_msg(2, "netfs_mount remains %s", bkpinfo->netfs_mount);
    860860        }
    861         if (bkpinfo->netfs_remote_dir) {
     861        if (bkpinfo->netfs_remote_dir != NULL) {
    862862            log_msg(2, "netfs_remote_dir remains %s", bkpinfo->netfs_remote_dir);
    863863        }
Note: See TracChangeset for help on using the changeset viewer.