Changeset 1155 in MondoRescue
- Timestamp:
- Feb 13, 2007, 1:21:32 AM (18 years ago)
- Location:
- branches/stable/mondo/src/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-archive.c
r1154 r1155 3199 3199 assert(bkpinfo != NULL); 3200 3200 assert_string_is_neither_NULL_nor_zerolength(biggie_filename); 3201 malloc_string(tmp);3202 malloc_string(checksum_line);3203 malloc_string(curr_slice_fname_uncompressed);3204 malloc_string(curr_slice_fname_compressed);3205 malloc_string(file_to_archive);3206 command = mr_malloc(MAX_STR_LEN * 8);3207 3201 3208 3202 biggiestruct.for_backward_compatibility = '\n'; 3209 3203 biggiestruct.use_ntfsprog = use_ntfsprog; 3210 tempblock = (char *) mr_malloc(256 * 1024);3211 3204 optimal_set_size = bkpinfo->optimal_set_size; 3212 3205 if (is_this_file_compressed(biggie_filename) … … 3225 3218 if (ntfsprog_fifo) { 3226 3219 file_to_openin = ntfsprog_fifo; 3227 strcpy(checksum_line, "IGNORE");3220 mr_asprintf(&checksum_line, "IGNORE"); 3228 3221 mr_msg(2, 3229 3222 "Not calculating checksum for %s: it would take too long", … … 3232 3225 fatal_error("ntfsresize not found"); 3233 3226 } 3234 sprintf(command, "ntfsresize --force --info %s|grep '^You might resize at '|cut -d' ' -f5", biggie_filename);3227 mr_asprintf(&command, "ntfsresize --force --info %s|grep '^You might resize at '|cut -d' ' -f5", biggie_filename); 3235 3228 log_it("command = %s", command); 3236 strcpy (tmp, call_program_and_get_last_line_of_output(command)); 3229 mr_asprintf(&tmp, call_program_and_get_last_line_of_output(command)); 3230 mr_free(command); 3231 3237 3232 log_it("res of it = %s", tmp); 3238 3233 totallength = (off_t)atoll(tmp); 3234 mr_free(tmp); 3239 3235 } else { 3240 3236 file_to_openin = biggie_filename; 3241 3237 if (strchr(biggie_filename,'\'') != NULL) { 3242 sprintf(command, "md5sum \"%s\"", biggie_filename);3238 mr_asprintf(&command, "md5sum \"%s\"", biggie_filename); 3243 3239 } else { 3244 sprintf(command, "md5sum '%s'", biggie_filename);3240 mr_asprintf(&command, "md5sum '%s'", biggie_filename); 3245 3241 } 3246 3242 if (!(fin = popen(command, "r"))) { 3247 3243 log_OS_error("Unable to popen-in command"); 3244 mr_free(command); 3245 mr_free(suffix); 3248 3246 return (1); 3249 3247 } 3250 (void) fgets(checksum_line, MAX_STR_LEN, fin); 3248 mr_free(command); 3249 mr_getline(&checksum_line, &n, fin); 3251 3250 pclose(fin); 3252 3251 totallength = length_of_file (biggie_filename); 3253 3252 } 3254 3253 lstat(biggie_filename, &biggiestruct.properties); 3255 strcpy(biggiestruct.filename, biggie_filename); 3254 if (strlen(biggie_filename) <= MAX_STR_LEN) { 3255 strcpy(biggiestruct.filename, biggie_filename); 3256 } else { 3257 fatal_error("biggie_filename too big"); 3258 } 3256 3259 pB = strchr(checksum_line, ' '); 3257 3260 if (!pB) { … … 3261 3264 *pB = '\0'; 3262 3265 } 3263 strcpy(biggiestruct.checksum, checksum_line); 3264 3265 strcpy(tmp, slice_fname(biggie_file_number, 0, bkpinfo->tmpdir, "")); 3266 if (strlen(checksum_line) <= 64) { 3267 strcpy(biggiestruct.checksum, checksum_line); 3268 } else { 3269 fatal_error("checksum_line too big"); 3270 } 3271 mr_free(checksum_line); 3272 3273 mr_asprintf(&tmp, slice_fname(biggie_file_number, 0, bkpinfo->tmpdir, "")); 3266 3274 fout = fopen(tmp, "w"); 3275 mr_free(tmp); 3276 3267 3277 (void) fwrite((void *) &biggiestruct, 1, sizeof(biggiestruct), fout); 3268 3278 paranoid_fclose(fout); … … 3272 3282 if (!(fin = fopen(file_to_openin, "r"))) { 3273 3283 log_OS_error("Unable to openin biggie_filename"); 3274 sprintf(tmp, "Cannot archive bigfile '%s': not found",3275 biggie_filename);3284 mr_asprintf(&tmp, "Cannot archive bigfile '%s': not found", 3285 biggie_filename); 3276 3286 log_to_screen(tmp); 3277 mr_free(tempblock);3278 3287 mr_free(tmp); 3279 mr_free(checksum_line); 3280 mr_free(command); 3288 mr_free(suffix); 3281 3289 return (1); 3282 3290 } … … 3294 3302 i = bkpinfo->optimal_set_size / 256; 3295 3303 for (slice_num = 1; !finished; slice_num++) { 3296 strcpy(curr_slice_fname_uncompressed,3304 mr_asprintf(&curr_slice_fname_uncompressed, 3297 3305 slice_fname(biggie_file_number, slice_num, bkpinfo->tmpdir, 3298 3306 "")); 3299 strcpy(curr_slice_fname_compressed,3307 mr_asprintf(&curr_slice_fname_compressed, 3300 3308 slice_fname(biggie_file_number, slice_num, bkpinfo->tmpdir, 3301 3309 suffix)); 3302 3310 3303 strcpy(tmp, percent_media_full_comment(bkpinfo));3311 mr_asprintf(&tmp, percent_media_full_comment(bkpinfo)); 3304 3312 update_progress_form(tmp); 3313 mr_free(tmp); 3314 3305 3315 if (!(fout = fopen(curr_slice_fname_uncompressed, "w"))) { 3306 3316 log_OS_error(curr_slice_fname_uncompressed); 3317 mr_free(curr_slice_fname_uncompressed); 3318 mr_free(curr_slice_fname_compressed); 3319 mr_free(suffix); 3307 3320 return (1); 3308 3321 } 3322 tempblock = mr_malloc(256 * 1024); 3309 3323 if ((i == bkpinfo->optimal_set_size / 256) 3310 3324 && (totalread < 1.1 * totallength)) { … … 3315 3329 (void) fwrite(tempblock, 1, blksize, fout); 3316 3330 } else { 3331 mr_free(tempblock); 3332 mr_free(curr_slice_fname_uncompressed); 3333 mr_free(curr_slice_fname_compressed); 3317 3334 break; 3318 3335 } … … 3321 3338 i = 0; 3322 3339 } 3340 mr_free(tempblock); 3323 3341 paranoid_fclose(fout); 3324 3342 if (i > 0) // length_of_file (curr_slice_fname_uncompressed) … … 3330 3348 } 3331 3349 if (should_I_compress_slices && bkpinfo->compression_level > 0) { 3332 sprintf(command, "%s -%d %s", bkpinfo->zip_exe,3333 bkpinfo->compression_level,3334 curr_slice_fname_uncompressed);3350 mr_asprintf(&command, "%s -%d %s", bkpinfo->zip_exe, 3351 bkpinfo->compression_level, 3352 curr_slice_fname_uncompressed); 3335 3353 mr_msg(2, command); 3336 3354 if ((res = system(command))) { 3337 3355 log_OS_error(command); 3338 3356 } 3357 mr_free(command); 3339 3358 // did_I_compress_slice = TRUE; 3340 3359 } else { 3341 sprintf(command, "mv %s %s 2>> %s", 3342 curr_slice_fname_uncompressed, 3343 curr_slice_fname_compressed, MONDO_LOGFILE); 3360 /* BERLIOS: Useless 3361 mr_asprintf(&command, "mv %s %s 2>> %s", 3362 curr_slice_fname_uncompressed, 3363 curr_slice_fname_compressed, MONDO_LOGFILE); 3364 */ 3344 3365 res = 0; // don't do it :) 3345 3366 // did_I_compress_slice = FALSE; … … 3355 3376 } 3356 3377 if (res) { 3357 sprintf(tmp, "Problem with slice # %ld", slice_num);3378 mr_asprintf(&tmp, "Problem with slice # %ld", slice_num); 3358 3379 } else { 3359 sprintf(tmp,3360 "%s - Bigfile #%ld, slice #%ld compressed OK ",3361 biggie_filename, biggie_file_number + 1,3362 slice_num);3380 mr_asprintf(&tmp, 3381 "%s - Bigfile #%ld, slice #%ld compressed OK ", 3382 biggie_filename, biggie_file_number + 1, 3383 slice_num); 3363 3384 } 3364 3385 if (!g_text_mode) { … … 3368 3389 mr_msg(2, tmp); 3369 3390 } 3370 strcpy(file_to_archive, curr_slice_fname_compressed); 3391 mr_free(tmp); 3392 mr_asprintf(&file_to_archive, curr_slice_fname_compressed); 3371 3393 g_current_progress++; 3372 3394 } else { /* if i==0 then ... */ 3373 3395 3374 3396 finished = TRUE; 3375 strcpy(file_to_archive, curr_slice_fname_uncompressed);3397 mr_asprintf(&file_to_archive, curr_slice_fname_uncompressed); 3376 3398 if (IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type)) { 3377 3399 break; … … 3388 3410 res = move_files_to_cd(bkpinfo, file_to_archive, NULL); 3389 3411 } 3412 mr_free(file_to_archive); 3390 3413 retval += res; 3391 3414 if (res) { 3392 sprintf(tmp,3393 "Failed to add slice %ld of bigfile %ld to scratchdir",3394 slice_num, biggie_file_number + 1);3415 mr_asprintf(&tmp, 3416 "Failed to add slice %ld of bigfile %ld to scratchdir", 3417 slice_num, biggie_file_number + 1); 3395 3418 log_to_screen(tmp); 3419 mr_free(tmp); 3396 3420 fatal_error 3397 3421 ("Hard disk full. You should have bought a bigger one."); 3398 3422 } 3399 } 3423 mr_free(curr_slice_fname_uncompressed); 3424 mr_free(curr_slice_fname_compressed); 3425 } 3426 mr_free(suffix); 3400 3427 paranoid_fclose(fin); 3401 sprintf(tmp, "Sliced bigfile #%ld", biggie_file_number + 1);3402 3428 if (retval) { 3403 strcat(tmp, "...FAILED"); 3404 } else { 3405 strcat(tmp, "...OK!"); 3429 mr_asprintf(&tmp, "Sliced bigfile #%ld...FAILED", 3430 biggie_file_number + 1); 3431 } else { 3432 mr_asprintf(&tmp, "Sliced bigfile #%ld...OK!", 3433 biggie_file_number + 1); 3406 3434 } 3407 3435 mr_msg(1, tmp); 3408 mr_free(tempblock);3409 3436 mr_free(tmp); 3410 mr_free(checksum_line);3411 mr_free(command);3412 mr_free(curr_slice_fname_uncompressed);3413 mr_free(curr_slice_fname_compressed);3414 mr_free(file_to_archive);3415 mr_free(suffix);3416 3437 return (retval); 3417 3438 } … … 3433 3454 { 3434 3455 /*@ buffers ********************************************* */ 3435 char *tmp; 3436 char *dir; 3437 3438 malloc_string(tmp); 3439 malloc_string(dir); 3456 char *tmp = NULL; 3457 char *dir = NULL; 3458 3440 3459 assert_string_is_neither_NULL_nor_zerolength(d); 3441 3460 3442 sprintf(dir, "%s/archives", d); 3443 sprintf(tmp, "find %s -name '*.afio*' -exec rm -f '{}' \\;", dir); 3444 run_program_and_log_output(tmp, FALSE); 3445 sprintf(tmp, "find %s -name '*list.[0-9]*' -exec rm -f '{}' \\;", dir); 3446 run_program_and_log_output(tmp, FALSE); 3447 sprintf(tmp, "find %s -name 'slice*' -exec rm -f '{}' \\;", dir); 3448 run_program_and_log_output(tmp, FALSE); 3449 sprintf(tmp, "rm -f %s/cklist*", dir); 3450 run_program_and_log_output(tmp, FALSE); 3451 sprintf(tmp, "rm -f %s/zero", dir); 3452 run_program_and_log_output(tmp, FALSE); 3453 mr_msg(1, "Wiped %s's archives", dir); 3454 sprintf(tmp, "ls -l %s", dir); 3461 mr_asprintf(&dir, "%s/archives", d); 3462 mr_asprintf(&tmp, "find %s -name '*.afio*' -exec rm -f '{}' \\;", dir); 3455 3463 run_program_and_log_output(tmp, FALSE); 3456 3464 mr_free(tmp); 3465 mr_asprintf(&tmp, "find %s -name '*list.[0-9]*' -exec rm -f '{}' \\;", 3466 dir); 3467 run_program_and_log_output(tmp, FALSE); 3468 mr_free(tmp); 3469 3470 mr_asprintf(&tmp, "find %s -name 'slice*' -exec rm -f '{}' \\;", dir); 3471 run_program_and_log_output(tmp, FALSE); 3472 mr_free(tmp); 3473 3474 mr_asprintf(&tmp, "rm -f %s/cklist*", dir); 3475 run_program_and_log_output(tmp, FALSE); 3476 mr_free(tmp); 3477 3478 mr_asprintf(&tmp, "rm -f %s/zero", dir); 3479 run_program_and_log_output(tmp, FALSE); 3480 mr_free(tmp); 3481 3482 mr_msg(1, "Wiped %s's archives", dir); 3483 mr_asprintf(&tmp, "ls -l %s", dir); 3484 run_program_and_log_output(tmp, FALSE); 3485 mr_free(tmp); 3486 3457 3487 mr_free(dir); 3458 3488 } 3459 3460 3489 3461 3490 … … 3480 3509 3481 3510 /*@ buffers ************************************************** */ 3482 char *tmp; 3483 3484 malloc_string(tmp); 3511 char *tmp = NULL; 3512 3485 3513 assert(bkpinfo != NULL); 3486 3514 3487 3515 // I should really check if there are any slices or tarballs to be copied to CD-R(W)'s; the odds are approx. 1 in a million that there are no files here, so I'll just go ahead & make one more CD anyway 3488 3516 3489 sprintf(tmp, "Writing the final ISO");3517 mr_asprintf(&tmp, "Writing the final ISO"); 3490 3518 mr_msg(2, tmp); 3491 3519 center_string(tmp, 80); … … 3495 3523 } 3496 3524 #endif 3525 mr_free(tmp); 3497 3526 res = write_iso_and_go_on(bkpinfo, TRUE); 3498 3527 #ifndef _XWIN … … 3502 3531 #endif 3503 3532 mr_msg(2, "Returning from writing final ISO (res=%d)", res); 3504 mr_free(tmp);3505 3533 return (res); 3506 3534 } … … 3543 3571 int res = 0; 3544 3572 3545 malloc_string(tmp);3546 malloc_string(cdno_fname);3547 malloc_string(lastcd_fname);3548 malloc_string(isofile);3549 3550 3573 assert(bkpinfo != NULL); 3551 3574 orig_vfy_flag_val = bkpinfo->verify_data; … … 3560 3583 } 3561 3584 mr_msg(1, "OK, time to make %s #%d", 3562 media_descriptor_string(bkpinfo->backup_media_type),3585 bkpinfo->backup_media_string, 3563 3586 g_current_media_number); 3564 3587 3565 3588 /* label the ISO with its number */ 3566 3589 3567 sprintf(cdno_fname, "%s/archives/THIS-CD-NUMBER", bkpinfo->scratchdir); 3590 mr_asprintf(&cdno_fname, "%s/archives/THIS-CD-NUMBER", 3591 bkpinfo->scratchdir); 3568 3592 fout = fopen(cdno_fname, "w"); 3569 3593 fprintf(fout, "%d", g_current_media_number); 3570 3594 paranoid_fclose(fout); 3571 3572 sprintf(tmp, "cp -f %s/autorun %s/", g_mondo_home, 3573 bkpinfo->scratchdir); 3595 mr_free(cdno_fname); 3596 3597 mr_asprintf(&tmp, "cp -f %s/autorun %s/", g_mondo_home, 3598 bkpinfo->scratchdir); 3574 3599 if (run_program_and_log_output(tmp, FALSE)) { 3575 3600 mr_msg(2, "Warning - unable to copy autorun to scratchdir"); 3576 3601 } 3602 mr_free(tmp); 3577 3603 3578 3604 /* last CD or not? Label accordingly */ 3579 sprintf(lastcd_fname, "%s/archives/NOT-THE-LAST", bkpinfo->scratchdir); 3605 mr_asprintf(&lastcd_fname, "%s/archives/NOT-THE-LAST", 3606 bkpinfo->scratchdir); 3580 3607 if (last_cd) { 3581 3608 unlink(lastcd_fname); … … 3588 3615 paranoid_fclose(fout); 3589 3616 } 3617 mr_free(lastcd_fname); 3618 3590 3619 if (space_occupied_by_cd(bkpinfo->scratchdir) / 1024 > 3591 3620 bkpinfo->media_size[g_current_media_number]) { 3592 sprintf(tmp,3621 mr_asprintf(&tmp, 3593 3622 "Warning! %s is too big. It occupies %ld KB, which is more than the %ld KB allowed.", 3594 3623 media_descriptor_string(bkpinfo->backup_media_type), … … 3596 3625 (long) bkpinfo->media_size[g_current_media_number]); 3597 3626 log_to_screen(tmp); 3627 mr_free(tmp); 3598 3628 } 3599 3629 if (bkpinfo->backup_media_type != usb) { 3600 sprintf(isofile, "%s/%s/%s-%d.iso", bkpinfo->isodir,3630 mr_asprintf(&isofile, "%s/%s/%s-%d.iso", bkpinfo->isodir, 3601 3631 bkpinfo->nfs_remote_dir, bkpinfo->prefix, 3602 3632 g_current_media_number); … … 3632 3662 that_one_was_ok = TRUE; 3633 3663 } else { 3634 sprintf(tmp, "Failed to burn %s #%d. Retry?",3635 media_descriptor_string(bkpinfo->backup_media_type),3636 g_current_media_number);3664 mr_asprintf(&tmp, "Failed to burn %s #%d. Retry?", 3665 bkpinfo->backup_media_string, 3666 g_current_media_number); 3637 3667 res = ask_me_yes_or_no(tmp); 3668 mr_free(tmp); 3638 3669 if (!res) { 3639 3670 if (ask_me_yes_or_no("Abort the backup?")) { … … 3648 3679 } 3649 3680 } 3650 /* 3651 if (using_nfs) 3652 { 3653 sprintf(tmp,"mv -f %s %s/%s/", isofile, bkpinfo->isodir, bkpinfo->nfs_remote_dir); 3654 if (run_program_and_log_output(tmp, FALSE)) 3655 { log_to_screen("Unable to move ISO to NFS dir"); } 3656 } 3657 */ 3681 mr_free(isofile); 3682 3658 3683 g_current_media_number++; 3659 3684 if (g_current_media_number > MAX_NOOF_MEDIA) { … … 3661 3686 } 3662 3687 wipe_archives(bkpinfo->scratchdir); 3663 sprintf(tmp, "rm -Rf %s/images/*gz %s/images/*data*img",3664 bkpinfo->scratchdir, bkpinfo->scratchdir);3688 mr_asprintf(&tmp, "rm -Rf %s/images/*gz %s/images/*data*img", 3689 bkpinfo->scratchdir, bkpinfo->scratchdir); 3665 3690 if (system(tmp)) { 3666 mr_msg 3667 (2,3668 "Error occurred when I tried to delete the redundant IMGs and GZs");3669 }3691 mr_msg(2, 3692 "Error occurred when I tried to delete the redundant IMGs and GZs"); 3693 } 3694 mr_free(tmp); 3670 3695 3671 3696 if (last_cd) { … … 3676 3701 3677 3702 bkpinfo->verify_data = orig_vfy_flag_val; 3678 mr_free(tmp);3679 mr_free(cdno_fname);3680 mr_free(lastcd_fname);3681 mr_free(isofile);3682 3703 return (0); 3683 3704 } 3684 3705 3685 3706 /* @} - end of LLarchiveGroup */ 3686 3687 3688 3707 3689 3708 … … 3702 3721 { 3703 3722 int res = 0, retval = 0, cdno = 0; 3704 char *tmp ;3723 char *tmp = NULL; 3705 3724 long diffs = 0; 3706 3725 3707 malloc_string(tmp);3708 3726 assert(bkpinfo != NULL); 3709 3727 if (IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type)) { … … 3742 3760 retval += res; 3743 3761 if (res) { 3744 sprintf(tmp, 3745 "Warnings/errors were reported while checking %s #%d", 3746 media_descriptor_string(bkpinfo-> 3747 backup_media_type), 3748 g_current_media_number); 3762 mr_asprintf(&tmp, 3763 "Warnings/errors were reported while checking %s #%d", 3764 bkpinfo->backup_media_string, 3765 g_current_media_number); 3749 3766 log_to_screen(tmp); 3750 3751 } 3752 } 3753 /* 3754 sprintf (tmp, 3755 "cat %s | grep \"afio: \" | cut -d'\"' -f2 | sort -u | awk '{print \"/\"$0;};' | tr -s '/' '/' | grep -vx \"/afio:.*\" > /tmp/changed.files", 3756 MONDO_LOGFILE); 3757 system (tmp); 3758 */ 3759 sprintf(tmp, 3760 "grep 'afio: ' %s | sed 's/afio: //' | grep -vE '^/dev/.*$' >> /tmp/changed.files", 3761 MONDO_LOGFILE); 3767 mr_free(tmp); 3768 3769 } 3770 } 3771 mr_asprintf(&tmp, 3772 "grep 'afio: ' %s | sed 's/afio: //' | grep -vE '^/dev/.*$' >> /tmp/changed.files", 3773 MONDO_LOGFILE); 3762 3774 system(tmp); 3763 3764 sprintf(tmp, 3765 "grep 'star: ' %s | sed 's/star: //' | grep -vE '^/dev/.*$' >> /tmp/changed.files", 3766 MONDO_LOGFILE); 3775 mr_free(tmp); 3776 3777 mr_asprintf(&tmp, 3778 "grep 'star: ' %s | sed 's/star: //' | grep -vE '^/dev/.*$' >> /tmp/changed.files", 3779 MONDO_LOGFILE); 3767 3780 system(tmp); 3781 mr_free(tmp); 3782 3768 3783 run_program_and_log_output("umount " MNT_CDROM, FALSE); 3769 // if (bkpinfo->backup_media_type != iso && !bkpinfo->please_dont_eject_when_restoring)3770 //{3771 3784 eject_device(bkpinfo->media_device); 3772 //}3773 3785 } 3774 3786 diffs = count_lines_in_file("/tmp/changed.files"); … … 3779 3791 } 3780 3792 } 3781 mr_free(tmp);3782 3793 return (retval); 3783 3794 } 3784 3785 3786 3787 3795 3788 3796 … … 3816 3824 3817 3825 3818 malloc_string(tmp);3819 malloc_string(title);3820 3826 /* pretty stuff */ 3821 3827 if (!(p = strrchr(datafile, '/'))) { … … 3824 3830 p++; 3825 3831 } 3826 sprintf(title, "Writing %s to floppy", p);3832 mr_asprintf(&title, "Writing %s to floppy", p); 3827 3833 open_evalcall_form(title); 3834 mr_free(title); 3835 3828 3836 /* functional stuff */ 3829 3837 for (p = device + strlen(device); p != device && isdigit(*(p - 1)); … … 3833 3841 maxblocks = 1440; 3834 3842 } 3835 sprintf(tmp, "maxblocks = %d; p=%s", maxblocks, p);3843 mr_asprintf(&tmp, "maxblocks = %d; p=%s", maxblocks, p); 3836 3844 mr_msg(2, tmp); 3845 mr_free(tmp); 3846 3837 3847 /* copy data from image to floppy */ 3838 3848 if (!(fin = fopen(datafile, "r"))) { … … 3861 3871 } 3862 3872 if (((blockno + 1) % 128) == 0) { 3863 paranoid_system("sync"); /* fflush doesn't work; dunno why */3873 sync(); /* fflush doesn't work; dunno why */ 3864 3874 update_evalcall_form(percentage); 3865 3875 } … … 3867 3877 paranoid_fclose(fin); 3868 3878 paranoid_fclose(fout); 3869 mr_free(tmp);3870 mr_free(title);3871 3879 close_evalcall_form(); 3872 3880 return (res); 3873 3881 } 3874 3875 3876 3877 3878 3879 3880 3881 3882 3882 3883 -
branches/stable/mondo/src/common/libmondo-tools.c
r1152 r1155 717 717 } 718 718 719 unlink(MONDO_TRACEFILE);720 719 run_program_and_log_output("rm -Rf /tmp/changed.files*", FALSE); 721 720 if (find_and_store_mondoarchives_home(g_mondo_home)) {
Note:
See TracChangeset
for help on using the changeset viewer.