Changeset 3821 in MondoRescue for branches/3.3/mondo/src/common
- Timestamp:
- Mar 3, 2024, 1:56:24 AM (5 months ago)
- Location:
- branches/3.3/mondo/src/common
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/common/libmondo-cli.c
r3777 r3821 661 661 662 662 if (flag_set['x']) { 663 strncpy(bkpinfo->image_devs, flag_val['x'],(MAX_STR_LEN / 4)-1);663 mr_asprintf(bkpinfo->image_devs, "%s", flag_val['x']); 664 664 if ((run_program_and_log_output("which ntfsclone", 2)) && (! bkpinfo->restore_data)) { 665 665 fatal_error("Please install ntfsprogs package/tarball."); -
branches/3.3/mondo/src/common/libmondo-devices.c
r3777 r3821 2736 2736 finish(1); 2737 2737 } 2738 strncpy(bkpinfo->image_devs, tmp1, (MAX_STR_LEN / 4)-1);2738 mr_asprint(bkpinfo->image_devs, "%s", tmp1); 2739 2739 } 2740 2740 -
branches/3.3/mondo/src/common/libmondo-files.c
r3623 r3821 1103 1103 * @param bkpinfo The backup information structure. Fields used: 1104 1104 * - @c bkpinfo->backup_media_type 1105 * - @c bkpinfo->image_devs1106 1105 * - @c bkpinfo->media_size 1107 1106 * - @c bkpinfo->optimal_set_size -
branches/3.3/mondo/src/common/libmondo-tools.c
r3794 r3821 820 820 bkpinfo->zip_exe[0] = '\0'; 821 821 bkpinfo->zip_suffix[0] = '\0'; 822 bkpinfo->image_devs [0] = '\0';822 bkpinfo->image_devs = NULL; 823 823 bkpinfo->compression_level = 3; 824 824 bkpinfo->use_lzo = FALSE; -
branches/3.3/mondo/src/common/mondostructures.h
r3429 r3821 398 398 * This is a useful feature, but use at your own risk. 399 399 */ 400 char image_devs[MAX_STR_LEN / 4];400 char *image_devs; 401 401 402 402 /** -
branches/3.3/mondo/src/common/newt-specific.c
r3618 r3821 428 428 mr_free(bkpinfo->include_paths); 429 429 mr_free(bkpinfo->subdir); 430 mr_free(bkpinfo->image_devs); 430 431 /* Then free the structure */ 431 432 paranoid_free(bkpinfo);
Note:
See TracChangeset
for help on using the changeset viewer.