diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2017-08-17 10:12:16 +0200 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-09-03 00:52:35 +1000 |
commit | 584d5172b886904892cd3c27e760b9358c7ba9a3 (patch) | |
tree | 3bfbe64735983be0592d924f05cac6cee35e371b /app-admin/tmpreaper/files | |
parent | media-libs/libnspsl: remove unused patch (diff) | |
download | gentoo-584d5172b886904892cd3c27e760b9358c7ba9a3.tar.gz gentoo-584d5172b886904892cd3c27e760b9358c7ba9a3.tar.bz2 gentoo-584d5172b886904892cd3c27e760b9358c7ba9a3.zip |
app-admin/tmpreaper: remove unused patch
Diffstat (limited to 'app-admin/tmpreaper/files')
-rw-r--r-- | app-admin/tmpreaper/files/tmpreaper-1.6.7-fix-protect.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/app-admin/tmpreaper/files/tmpreaper-1.6.7-fix-protect.patch b/app-admin/tmpreaper/files/tmpreaper-1.6.7-fix-protect.patch deleted file mode 100644 index a76c80dd5fc7..000000000000 --- a/app-admin/tmpreaper/files/tmpreaper-1.6.7-fix-protect.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- 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) || |