Changeset 87 in MondoRescue for trunk/mondo/mondo/common/libmondo-archive.c
- Timestamp:
- Oct 27, 2005, 10:03:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-archive.c
r75 r87 2 2 3 3 subroutines to handle the archiving of files 4 5 4 */ 6 5 … … 514 513 * - @c media_size 515 514 * - @c nonbootable_backup 516 * - @c scratchdir517 515 * - @c tmpdir 518 516 * - @c use_lzo … … 528 526 /*@ buffer ************************************************************ */ 529 527 char *tmp; 530 char *scratchdir;531 528 char *command; 532 529 char *use_lzo_sz; … … 871 868 872 869 // popup_and_OK("Pausing"); 873 874 870 res = run_program_and_log_to_screen(command, 875 871 "Generating boot+data disks"); … … 1508 1504 (misc_counter_that_is_not_important + 1) % 5; 1509 1505 /* BERLIOS: media_usage_comment was NOT initialized !!! */ 1510 /* maybe : */ 1511 asprintf(&media_usage_comment, "%s", 1512 percent_media_full_comment(bkpinfo)); 1506 /* maybe */ 1507 tmp = percent_media_full_comment(bkpinfo); 1508 asprintf(&media_usage_comment, "%s", tmp); 1509 paranoid_free(tmp); 1513 1510 if (!misc_counter_that_is_not_important) { 1514 1511 update_progress_form(media_usage_comment); … … 1535 1532 sleep(5); 1536 1533 } 1537 asprintf(&media_usage_comment, "%s", 1538 percent_media_full_comment(bkpinfo)); 1534 tmp = percent_media_full_comment(bkpinfo); 1535 asprintf(&media_usage_comment, "%s", tmp); 1536 paranoid_free(tmp); 1539 1537 /* copy to CD (scratchdir) ... and an actual CD-R if necessary */ 1540 1538 if (IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type)) { … … 1644 1642 char *message_to_screen; 1645 1643 char *sz_blank_disk; 1646 char *fnam;1647 1644 char *tmp2; 1648 1645 char *tmp3; … … 2186 2183 } 2187 2184 2188 asprintf(&media_usage_comment, "%s", 2189 percent_media_full_comment(bkpinfo)); 2185 tmp = percent_media_full_comment(bkpinfo); 2186 asprintf(&media_usage_comment, "%s", tmp); 2187 paranoid_free(tmp); 2190 2188 2191 2189 /* copy to CD (scratchdir) ... and an actual CD-R if necessary */ … … 3167 3165 bkpinfo->tmpdir, suffix)); 3168 3166 3169 asprintf(&tmp, "%s", percent_media_full_comment(bkpinfo));3167 tmp = percent_media_full_comment(bkpinfo); 3170 3168 update_progress_form(tmp); 3171 3169 paranoid_free(tmp); … … 3380 3378 asprintf(&tmp, "Writing the final ISO"); 3381 3379 log_msg(2, tmp); 3382 /* BERLIOS: that function seems strange to me3383 3384 3380 /* BERLIOS: center_string is now broken 3381 center_string(tmp, 80); 3382 */ 3385 3383 #ifndef _XWIN 3386 3384 if (!g_text_mode) {
Note:
See TracChangeset
for help on using the changeset viewer.