Changeset 2696 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-filelist.c
- Timestamp:
- Jan 25, 2011, 10:34:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-filelist.c
r2651 r2696 452 452 } 453 453 log_msg(8, "Analyzing %s", file_to_analyze); 454 tmp = mr_stresc(file_to_analyze, " `$\\\"(){}[]'*?&|!#~", '\\');454 tmp = mr_stresc(file_to_analyze, " `$\\\"(){}[]'*?&|!#~", '\\'); 455 455 mr_asprintf(strtmp, syscall_sprintf, tmp); 456 456 mr_free(tmp); … … 477 477 478 478 if (g_getfacl != NULL) { 479 mr_asprintf(command, "touch %s", facl_fname);479 mr_asprintf(command, "touch \"%s\"", facl_fname); 480 480 run_program_and_log_output(command, 8); 481 481 mr_free(command); 482 482 483 483 retval = 484 gen_aux_list(filelist, "getfacl --all-effective -P %s", facl_fname);484 gen_aux_list(filelist, "getfacl --all-effective -P \"%s\"", facl_fname); 485 485 } 486 486 return (retval); … … 494 494 495 495 if (g_getfattr != NULL) { 496 mr_asprintf(command, "touch %s", fattr_fname);496 mr_asprintf(command, "touch \"%s\"", fattr_fname); 497 497 run_program_and_log_output(command, 8); 498 498 mr_free(command);
Note:
See TracChangeset
for help on using the changeset viewer.