Changeset 3238 in MondoRescue
- Timestamp:
- Jan 5, 2014, 1:35:22 PM (11 years ago)
- Location:
- branches/3.2/mondo/src/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-filelist.c
r3205 r3238 379 379 if (filelist->ch == '\0') { 380 380 if (!(i++ % 1111)) { 381 percentage = 382 (int) (i * 100 / g_original_noof_lines_in_filelist); 381 percentage = (int) (i * 100 / g_original_noof_lines_in_filelist); 383 382 update_evalcall_form(percentage); 384 383 -
branches/3.2/mondo/src/common/libmondo-files.c
r3206 r3238 323 323 assert_string_is_neither_NULL_nor_zerolength(fname); 324 324 mr_asprintf(command, "which %s 2> /dev/null", fname); 325 mr_asprintf(incoming, call_program_and_get_last_line_of_output(command));325 mr_asprintf(incoming, "%s", call_program_and_get_last_line_of_output(command)); 326 326 mr_free(command); 327 327 -
branches/3.2/mondo/src/common/libmondo-tools.c
r3225 r3238 1188 1188 mr_free(tmp); 1189 1189 1190 mr_asprintf(tmp, call_program_and_get_last_line_of_output(command));1190 mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output(command)); 1191 1191 mr_free(command); 1192 1192
Note:
See TracChangeset
for help on using the changeset viewer.