Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/tmpreaper/files/
Date: Sat, 02 Sep 2017 14:52:48
Message-Id: 1504363955.584d5172b886904892cd3c27e760b9358c7ba9a3.kensington@gentoo
1 commit: 584d5172b886904892cd3c27e760b9358c7ba9a3
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Thu Aug 17 08:12:16 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 14:52:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=584d5172
7
8 app-admin/tmpreaper: remove unused patch
9
10 .../files/tmpreaper-1.6.7-fix-protect.patch | 46 ----------------------
11 1 file changed, 46 deletions(-)
12
13 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
14 deleted file mode 100644
15 index a76c80dd5fc..00000000000
16 --- a/app-admin/tmpreaper/files/tmpreaper-1.6.7-fix-protect.patch
17 +++ /dev/null
18 @@ -1,46 +0,0 @@
19 ---- tmpreaper.c.orig 2006-12-05 10:55:58.000000000 -0800
20 -+++ tmpreaper.c 2006-12-05 10:56:46.000000000 -0800
21 -@@ -467,6 +467,21 @@
22 - continue;
23 - }
24 -
25 -+ if (FLAGS_PROTECT_P (flags)) {
26 -+ skip = i = 0;
27 -+ do {
28 -+ if (sb.st_ino == protect_table[i].inode) {
29 -+ message (LOG_VERBOSE,
30 -+ "Entry matching `--protect' pattern skipped. `%s'\n",
31 -+ protect_table[i].name);
32 -+ skip = 1;
33 -+ break;
34 -+ }
35 -+ } while (protect_table[i++].name);
36 -+ if (skip)
37 -+ continue;
38 -+ }
39 -+
40 - if (S_ISDIR (sb.st_mode)) {
41 - char *dst;
42 -
43 -@@ -489,21 +504,6 @@
44 - (u_int) getpid(), ent->d_name);
45 - }
46 -
47 -- if (FLAGS_PROTECT_P (flags)) {
48 -- skip = i = 0;
49 -- do {
50 -- if (sb.st_ino == protect_table[i].inode) {
51 -- message (LOG_VERBOSE,
52 -- "Entry matching `--protect' pattern skipped. `%s'\n",
53 -- protect_table[i].name);
54 -- skip = 1;
55 -- break;
56 -- }
57 -- } while (protect_table[i++].name);
58 -- if (skip)
59 -- continue;
60 -- }
61 --
62 - /* Decide whether to remove the file or not */
63 - /* check for mtime on directory instead of atime if requested */
64 - if ( FLAGS_MTIME_P(flags) ||