Changeset 3116 in MondoRescue
- Timestamp:
- May 7, 2013, 5:42:54 AM (12 years ago)
- Location:
- branches/3.0/mondo
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/common/libmondo-stream.c
r3080 r3116 373 373 int res = 0; 374 374 char fname_buf[PATH_MAX]; 375 char *fname = (char *)fname_buf; 375 char *fname = (char *)fname_buf; /* Should NOT be NULL */ 376 376 char *tmp = NULL; 377 377 … … 430 430 res = read_header_block_from_stream(ptmp_size, tmp_fname, pctrl_chr); 431 431 log_msg(1, "End of extended attributes, now looking for afioball"); 432 return ( 0);432 return (res); 433 433 } 434 434 -
branches/3.0/mondo/src/common/libmondo-verify.c
r3060 r3116 787 787 log_it("Grabbing the EXAT files"); 788 788 if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) { 789 res = 790 read_EXAT_files_from_tape(&size, fname, &ctrl_chr, 789 res = read_EXAT_files_from_tape(&size, fname, &ctrl_chr, 791 790 curr_xattr_list_fname, 792 791 curr_acl_list_fname); … … 810 809 if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) { 811 810 log_it("Reading EXAT files from tape"); 812 res = 813 read_EXAT_files_from_tape(&size, fname, &ctrl_chr, 811 res = read_EXAT_files_from_tape(&size, fname, &ctrl_chr, 814 812 curr_xattr_list_fname, 815 813 curr_acl_list_fname); … … 900 898 if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) { 901 899 log_it("Grabbing the EXAT biggiefiles"); 902 res = 903 read_EXAT_files_from_tape(&size, orig_fname, 900 res = read_EXAT_files_from_tape(&size, orig_fname, 904 901 &ctrl_chr, curr_xattr_list_fname, 905 902 curr_acl_list_fname); -
branches/3.0/mondo/src/mondorestore/mondo-rstr-tools.c
r3076 r3116 281 281 char *mds = NULL; 282 282 int retval = 0, i; 283 bool already_mounted = FALSE;284 283 285 284 assert(bkpinfo != NULL); … … 307 306 if (is_this_device_mounted(g_isodir_device)) { 308 307 log_to_screen("WARNING - isodir is already mounted"); 309 already_mounted = TRUE;310 308 } else { 311 309 mr_asprintf(&mount_isodir_command, "mount %s", g_isodir_device); … … 1027 1025 "Filelist and biggielist already recovered from media. Yay!"); 1028 1026 } else { 1029 getcwd(tmp, MAX_STR_LEN); 1027 if (getcwd(tmp, MAX_STR_LEN) == NULL) { 1028 // FIXME 1029 } 1030 1030 if (chdir(bkpinfo->tmpdir)) { 1031 1031 // FIXME -
branches/3.0/mondo/src/mondorestore/mondorestore.c
r3111 r3116 2421 2421 &ctrl_chr); 2422 2422 if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) { 2423 res = 2424 read_EXAT_files_from_tape(&biggie_size, biggie_fname, 2423 res = read_EXAT_files_from_tape(&biggie_size, biggie_fname, 2425 2424 &ctrl_chr, xattr_fname, acl_fname); 2426 2425 } … … 2613 2612 if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) { 2614 2613 log_it("Reading EXAT files from tape"); 2615 res = 2616 read_EXAT_files_from_tape(&tmp_size, tmp_fname, 2614 res = read_EXAT_files_from_tape(&tmp_size, tmp_fname, 2617 2615 &ctrl_chr, xattr_fname, 2618 2616 acl_fname); -
branches/3.0/mondo/test/test-mr_stresc.c
r3111 r3116 6 6 */ 7 7 #include <stdio.h> 8 #include <stdlib.h> 8 9 #include "mr_str.h" 9 10 10 const char **strl = { 11 void (*mr_cleanup)(void) = NULL; 12 13 char **strl = { 11 14 "test with space", 12 15 "test with \ backslash", … … 23 26 const int MAX = 10; 24 27 25 voidmain() {28 int main() { 26 29 27 30 char *p; -
branches/3.0/mondo/test/test-truncname.c
r3042 r3116 47 47 } 48 48 49 voidmain() {49 int main() { 50 50 51 51 char *part = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.