Changeset 2357 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-filelist.c
- Timestamp:
- Aug 29, 2009, 3:22:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-filelist.c
r2351 r2357 346 346 then update_progress_form() won't show the "time taken / time remaining" 347 347 line. The bug only crops up AFTER the call to chop_filelist(). Weird. */ 348 #ifndef _XWIN349 348 if (!g_text_mode) { 350 349 open_progress_form("", "", "", "", 100); … … 353 352 newtPopWindow(); 354 353 } 355 #endif356 354 return (err ? 0 : curr_set_no + 1); 357 355 } … … 471 469 tmp = mr_stresc(file_to_analyze, "`$\\\"(){}[]'*?&|!#~", '\\'); 472 470 mr_asprintf(strtmp, syscall_sprintf, tmp); 473 paranoid_free(tmp); 471 mr_free(tmp); 472 474 473 mr_asprintf(syscall, "%s 2>> /dev/null", strtmp); // " MONDO_LOGFILE); 475 474 mr_free(strtmp); 475 476 476 call_exe_and_pipe_output_to_fd(syscall, pout); 477 477 mr_free(syscall); … … 927 927 } 928 928 add_string_at_node(filelist, fname); 929 mr_free(fname);930 929 931 930 if (!(++lino % 1111)) { … … 933 932 update_evalcall_form(percentage); 934 933 } 934 mr_free(fname); 935 935 } 936 936 mr_free(fname); … … 1414 1414 if (this_time != last_time) { 1415 1415 last_time = this_time; 1416 #ifndef _XWIN1417 1416 if (!g_text_mode) { 1418 1417 mr_asprintf(tmp, "Reading %-68s", dir); … … 1420 1419 mr_free(tmp); 1421 1420 } 1422 #endif1423 1421 update_evalcall_form(percentage); 1424 1422 } … … 1468 1466 counter = 0; 1469 1467 uberctr++; 1470 #ifndef _XWIN1471 1468 mr_asprintf(tmp, " %c ", special_dot_char(uberctr)); 1472 1469 if (!g_text_mode) { … … 1475 1472 } 1476 1473 mr_free(tmp); 1477 #endif1478 1474 } 1479 1475 }
Note:
See TracChangeset
for help on using the changeset viewer.