Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103406 Details for
Bug 114218
app-admin/tmpreaper - tmpreaper --protect doesn't work on directories
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Rediffed patch against 1.6.6
tmpreaper_1.6.6_protect.patch (text/plain), 1.13 KB, created by
Andy Lutomirski
on 2006-12-05 11:06:50 UTC
(
hide
)
Description:
Rediffed patch against 1.6.6
Filename:
MIME Type:
Creator:
Andy Lutomirski
Created:
2006-12-05 11:06:50 UTC
Size:
1.13 KB
patch
obsolete
>--- tmpreaper.c.orig 2006-12-05 10:55:58.000000000 -0800 >+++ tmpreaper.c 2006-12-05 10:56:46.000000000 -0800 >@@ -467,6 +467,21 @@ > continue; > } > >+ if (FLAGS_PROTECT_P (flags)) { >+ skip = i = 0; >+ do { >+ if (sb.st_ino == protect_table[i].inode) { >+ message (LOG_VERBOSE, >+ "Entry matching `--protect' pattern skipped. `%s'\n", >+ protect_table[i].name); >+ skip = 1; >+ break; >+ } >+ } while (protect_table[i++].name); >+ if (skip) >+ continue; >+ } >+ > if (S_ISDIR (sb.st_mode)) { > char *dst; > >@@ -489,21 +504,6 @@ > (u_int) getpid(), ent->d_name); > } > >- if (FLAGS_PROTECT_P (flags)) { >- skip = i = 0; >- do { >- if (sb.st_ino == protect_table[i].inode) { >- message (LOG_VERBOSE, >- "Entry matching `--protect' pattern skipped. `%s'\n", >- protect_table[i].name); >- skip = 1; >- break; >- } >- } while (protect_table[i++].name); >- if (skip) >- continue; >- } >- > /* Decide whether to remove the file or not */ > /* check for mtime on directory instead of atime if requested */ > if ( FLAGS_MTIME_P(flags) ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114218
:
73914
| 103406