|
Lines 467-472
Link Here
|
| 467 |
continue; |
467 |
continue; |
| 468 |
} |
468 |
} |
| 469 |
|
469 |
|
|
|
470 |
if (FLAGS_PROTECT_P (flags)) { |
| 471 |
skip = i = 0; |
| 472 |
do { |
| 473 |
if (sb.st_ino == protect_table[i].inode) { |
| 474 |
message (LOG_VERBOSE, |
| 475 |
"Entry matching `--protect' pattern skipped. `%s'\n", |
| 476 |
protect_table[i].name); |
| 477 |
skip = 1; |
| 478 |
break; |
| 479 |
} |
| 480 |
} while (protect_table[i++].name); |
| 481 |
if (skip) |
| 482 |
continue; |
| 483 |
} |
| 484 |
|
| 470 |
if (S_ISDIR (sb.st_mode)) { |
485 |
if (S_ISDIR (sb.st_mode)) { |
| 471 |
char *dst; |
486 |
char *dst; |
| 472 |
|
487 |
|
|
Lines 489-509
Link Here
|
| 489 |
(u_int) getpid(), ent->d_name); |
504 |
(u_int) getpid(), ent->d_name); |
| 490 |
} |
505 |
} |
| 491 |
|
506 |
|
| 492 |
if (FLAGS_PROTECT_P (flags)) { |
|
|
| 493 |
skip = i = 0; |
| 494 |
do { |
| 495 |
if (sb.st_ino == protect_table[i].inode) { |
| 496 |
message (LOG_VERBOSE, |
| 497 |
"Entry matching `--protect' pattern skipped. `%s'\n", |
| 498 |
protect_table[i].name); |
| 499 |
skip = 1; |
| 500 |
break; |
| 501 |
} |
| 502 |
} while (protect_table[i++].name); |
| 503 |
if (skip) |
| 504 |
continue; |
| 505 |
} |
| 506 |
|
| 507 |
/* Decide whether to remove the file or not */ |
507 |
/* Decide whether to remove the file or not */ |
| 508 |
/* check for mtime on directory instead of atime if requested */ |
508 |
/* check for mtime on directory instead of atime if requested */ |
| 509 |
if ( FLAGS_MTIME_P(flags) || |
509 |
if ( FLAGS_MTIME_P(flags) || |