Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73914 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]
A proposed "fix"
tmpreaper.patch (text/plain), 849 bytes, created by
Andy Lutomirski
on 2005-12-01 18:14:17 UTC
(
hide
)
Description:
A proposed "fix"
Filename:
MIME Type:
Creator:
Andy Lutomirski
Created:
2005-12-01 18:14:17 UTC
Size:
849 bytes
patch
obsolete
>--- tmpreaper.c.orig 2005-11-13 13:30:35.000000000 -0800 >+++ tmpreaper.c 2005-11-13 13:31:29.000000000 -0800 >@@ -464,13 +464,6 @@ > continue; > } > >- if (S_ISDIR (sb.st_mode)) { >- cleanupDirectory (ent->d_name, killTime, flags); >- message (LOG_VERBOSE, >- "(PID %u) Back from recursing down `%s'.\n", >- (u_int) getpid(), ent->d_name); >- } >- > if (FLAGS_PROTECT_P (flags)) { > skip = i = 0; > do { >@@ -486,6 +479,13 @@ > continue; > } > >+ if (S_ISDIR (sb.st_mode)) { >+ cleanupDirectory (ent->d_name, killTime, flags); >+ message (LOG_VERBOSE, >+ "(PID %u) Back from recursing down `%s'.\n", >+ (u_int) getpid(), ent->d_name); >+ } >+ > /* 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