- Timestamp:
- Nov 18, 2006, 1:25:11 AM (19 years ago)
- Location:
- branches/stable/mondo/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-filelist.c
r943 r944 164 164 extern int g_noof_rows; 165 165 166 166 extern char *g_getfacl; 167 extern char *g_getfattr; 167 168 168 169 … … 602 603 int retval = 0; 603 604 604 if ( find_home_of_exe("getfacl")) {605 if (g_getfacl != NULL) { 605 606 malloc_string(command); 606 607 sprintf(command, "touch %s", facl_fname); … … 623 624 int retval = 0; 624 625 625 if ( find_home_of_exe("getfattr")) {626 if (g_getfattr != NULL) { 626 627 malloc_string(command); 627 628 sprintf(command, "touch %s", fattr_fname); -
branches/stable/mondo/src/mondoarchive/main.c
r928 r944 142 142 char *ps_options = "auxww"; 143 143 char *ps_proc_id = "$2"; 144 char *g_getfacl = NULL 145 char *g_getfattr = NULL 144 146 145 147 extern t_bkptype g_backup_media_type; … … 456 458 bkpinfo->scratchdir); 457 459 460 if (find_home_of_exe("getfacl")) { 461 asprintf(&g_setfacl,"getfacl"); 462 } 463 if (find_home_of_exe("getfattr")) { 464 asprintf(&g_setfacl,"getfattr"); 465 } 466 458 467 /* If we're meant to backup then backup */ 459 468 if (bkpinfo->backup_data) { 460 /*461 log_to_screen("INFERNAL PORPOISES");462 res = archive_this_fileset_with_star(bkpinfo, "/tmp/filelist.0", "/tmp/0.star.bz2", 0);463 log_to_screen("atfws returned %d", res);464 finish(0);465 */466 469 res = backup_data(bkpinfo); 467 470 retval += res;
Note:
See TracChangeset
for help on using the changeset viewer.