Changeset 689 in MondoRescue for trunk/mondo/mondo/common/libmondo-filelist.c
- Timestamp:
- Jul 17, 2006, 7:43:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-filelist.c
r688 r689 479 479 int get_acl_list(char *filelist, char *facl_fname) 480 480 { 481 char *command; 481 char *command = NULL; 482 char *tmp = NULL; 482 483 int retval = 0; 483 484 … … 486 487 paranoid_free(command); 487 488 488 if (find_home_of_exe("getfacl")) { 489 tmp = find_home_of_exe("getfacl"); 490 if (tmp) { 489 491 // sort_file(filelist); // FIXME - filelist chopper sorts, so this isn't necessary 490 492 asprintf(&command, … … 495 497 paranoid_free(command); 496 498 } 499 paranoid_free(tmp); 497 500 return (retval); 498 501 } … … 501 504 int get_fattr_list(char *filelist, char *fattr_fname) 502 505 { 503 char *command; 506 char *command = NULL; 507 char *tmp = NULL; 504 508 int retval = 0; 505 509 … … 508 512 paranoid_free(command); 509 513 510 if (find_home_of_exe("getfattr")) { 514 tmp = find_home_of_exe("getfattr"); 515 if (tmp) { 511 516 // sort_file(filelist); // FIXME - filelist chopper sorts, so this isn't necessary 512 517 retval = … … 514 519 fattr_fname); 515 520 } 521 paranoid_free(tmp); 516 522 return (retval); 517 523 }
Note:
See TracChangeset
for help on using the changeset viewer.