Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mailx-support/files/
Date: Thu, 22 Dec 2016 15:47:20
Message-Id: 1482421615.c4c95f9073623d46cc79a277078e2f65dbe9e40a.kensington@gentoo
1 commit: c4c95f9073623d46cc79a277078e2f65dbe9e40a
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Dec 13 20:19:31 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 22 15:46:55 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4c95f90
7
8 mail-client/mailx-support: remove unused patch
9
10 .../files/mailx-support-20030215-gentoo.patch | 66 ----------------------
11 1 file changed, 66 deletions(-)
12
13 diff --git a/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch b/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch
14 deleted file mode 100644
15 index 829b858..00000000
16 --- a/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch
17 +++ /dev/null
18 @@ -1,66 +0,0 @@
19 ---- - 2003-02-15 23:35:46.000000000 +0800
20 -+++ locking.c 2003-02-15 23:19:11.000000000 +0800
21 -@@ -45,6 +45,7 @@
22 - #include <stdarg.h>
23 - #include "pathnames.h"
24 - #include "mail.local.h"
25 -+#include "open_with_exlock.h"
26 -
27 - static char lpath[MAXPATHLEN];
28 -
29 -@@ -93,7 +94,7 @@
30 - }
31 - goto again;
32 - }
33 -- if ((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL|O_EXLOCK,
34 -+ if ((lfd = open_with_exlock(lpath, O_CREAT|O_WRONLY|O_EXCL,
35 - S_IRUSR|S_IWUSR)) != -1)
36 - break;
37 - again:
38 -@@ -104,7 +105,7 @@
39 - return(-1);
40 - }
41 - if (tries > 9 &&
42 -- (lfd = open(lpath, O_WRONLY|O_EXLOCK, 0)) != -1) {
43 -+ (lfd = open_with_exlock(lpath, O_WRONLY, 0)) != -1) {
44 - if (fstat(lfd, &fsb) != -1 &&
45 - lstat(lpath, &sb) != -1) {
46 - if (fsb.st_dev == sb.st_dev &&
47 -@@ -169,3 +170,4 @@
48 - if (isfatal)
49 - exit(1);
50 - }
51 -+
52 ---- - 2003-02-15 23:37:13.000000000 +0800
53 -+++ mail.local.c 2003-02-15 23:20:50.000000000 +0800
54 -@@ -66,6 +66,7 @@
55 - #include <string.h>
56 - #include "pathnames.h"
57 - #include "mail.local.h"
58 -+#include "open_with_exlock.h"
59 -
60 - int
61 - main(int argc, char *argv[])
62 -@@ -218,7 +219,7 @@
63 - merr(NOTFATAL, "%s: %s", path, strerror(errno));
64 - goto bad;
65 - }
66 -- if ((mbfd = open(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY|O_EXLOCK,
67 -+ if ((mbfd = open_with_exlock(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY,
68 - S_IRUSR|S_IWUSR)) < 0) {
69 - if (errno == EEXIST) {
70 - /* file appeared since lstat */
71 -@@ -244,7 +245,7 @@
72 - merr(NOTFATAL, "%s: linked or special file", path);
73 - goto bad;
74 - }
75 -- if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK,
76 -+ if ((mbfd = open_with_exlock(path, O_APPEND|O_WRONLY,
77 - S_IRUSR|S_IWUSR)) < 0) {
78 - merr(NOTFATAL, "%s: %s", path, strerror(errno));
79 - goto bad;
80 -@@ -340,3 +341,4 @@
81 - {
82 - merr(FATAL, "usage: mail.local [-lL] [-f from] user ...");
83 - }
84 -+