Changeset 2436 in MondoRescue for branches/2.2.9/mondo/src/common/libmondo-filelist.c
- Timestamp:
- Sep 29, 2009, 1:48:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-filelist.c
r2418 r2436 1350 1350 /* dir is needed when we pass it to the shell */ 1351 1351 dir = mr_stresc(dir1, "`$\\\"(){}'[]&*?|!#~", '\\'); 1352 p = strrchr(dir , '/');1352 p = strrchr(dir1, '/'); 1353 1353 if (p) { 1354 1354 if (!strcmp(p, "/.") || !strcmp(p, "/..")) { … … 1404 1404 g_skeleton_filelist, g_skeleton_filelist); 1405 1405 // log_msg(6, "fsm = %s", find_skeleton_marker); 1406 run_program_and_log_output(find_skeleton_marker, 8);1406 paranoid_system(find_skeleton_marker); 1407 1407 time(&this_time); 1408 1408 if (this_time != last_time) { … … 1434 1434 paranoid_free(tmp); 1435 1435 } else if (strstr(skip_these, new_with_spaces)) { 1436 log_msg(10, "Found dir ***%s**** excluded", dir1); 1436 1437 fprintf(fout, "%s\n", dir1); // if excluded dir then print dir ONLY 1437 1438 } else { 1439 log_msg(10, "Found dir ***%s**** parsed", dir1); 1438 1440 fprintf(fout, "%s\n", dir1); 1439 1441 while ((dit = readdir(dip)) != NULL) { … … 1448 1450 if (strstr(skip_these, new_with_spaces)) { 1449 1451 fprintf(fout, "%s\n", new); 1452 log_msg(10, "Found child dir ***%s**** excluded", new); 1450 1453 paranoid_free(new_with_spaces); 1451 1454 } else { … … 1454 1457 if (!S_ISLNK(statbuf.st_mode) 1455 1458 && S_ISDIR(statbuf.st_mode)) { 1459 log_msg(10, "Found child dir ***%s**** parsed", new); 1456 1460 open_and_list_dir(new, skip_these, fout, 1457 1461 time_of_last_full_backup); … … 1460 1464 || time_of_last_full_backup < 1461 1465 statbuf.st_ctime) { 1466 log_msg(10, "Found child file ***%s**** parsed", new); 1462 1467 fprintf(fout, "%s\n", new); 1463 1468 if ((counter++) > 128) {
Note:
See TracChangeset
for help on using the changeset viewer.