public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mailx-support/files/
Date: Thu, 22 Dec 2016 15:47:11 +0000 (UTC)	[thread overview]
Message-ID: <1482421615.c4c95f9073623d46cc79a277078e2f65dbe9e40a.kensington@gentoo> (raw)

commit:     c4c95f9073623d46cc79a277078e2f65dbe9e40a
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Dec 13 20:19:31 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 15:46:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4c95f90

mail-client/mailx-support: remove unused patch

 .../files/mailx-support-20030215-gentoo.patch      | 66 ----------------------
 1 file changed, 66 deletions(-)

diff --git a/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch b/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch
deleted file mode 100644
index 829b858..00000000
--- a/mail-client/mailx-support/files/mailx-support-20030215-gentoo.patch
+++ /dev/null
@@ -1,66 +0,0 @@
---- -	2003-02-15 23:35:46.000000000 +0800
-+++ locking.c	2003-02-15 23:19:11.000000000 +0800
-@@ -45,6 +45,7 @@
- #include <stdarg.h>
- #include "pathnames.h"
- #include "mail.local.h"
-+#include "open_with_exlock.h"
- 
- static char lpath[MAXPATHLEN];
- 
-@@ -93,7 +94,7 @@
- 				}
- 				goto again;
- 			}
--			if ((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL|O_EXLOCK,
-+			if ((lfd = open_with_exlock(lpath, O_CREAT|O_WRONLY|O_EXCL,
- 			    S_IRUSR|S_IWUSR)) != -1)
- 				break;
- again:
-@@ -104,7 +105,7 @@
- 				return(-1);
- 			}
- 			if (tries > 9 &&
--			    (lfd = open(lpath, O_WRONLY|O_EXLOCK, 0)) != -1) {
-+			    (lfd = open_with_exlock(lpath, O_WRONLY, 0)) != -1) {
- 				if (fstat(lfd, &fsb) != -1 &&
- 				    lstat(lpath, &sb) != -1) {
- 					if (fsb.st_dev == sb.st_dev &&
-@@ -169,3 +170,4 @@
- 	if (isfatal)
- 		exit(1);
- }
-+
---- -	2003-02-15 23:37:13.000000000 +0800
-+++ mail.local.c	2003-02-15 23:20:50.000000000 +0800
-@@ -66,6 +66,7 @@
- #include <string.h>
- #include "pathnames.h"
- #include "mail.local.h"
-+#include "open_with_exlock.h"
- 
- int
- main(int argc, char *argv[])
-@@ -218,7 +219,7 @@
- 			merr(NOTFATAL, "%s: %s", path, strerror(errno));
- 			goto bad;
- 		}
--		if ((mbfd = open(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY|O_EXLOCK,
-+		if ((mbfd = open_with_exlock(path, O_APPEND|O_CREAT|O_EXCL|O_WRONLY,
- 		     S_IRUSR|S_IWUSR)) < 0) {
- 			if (errno == EEXIST) {
- 				/* file appeared since lstat */
-@@ -244,7 +245,7 @@
- 			merr(NOTFATAL, "%s: linked or special file", path);
- 			goto bad;
- 		}
--		if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK,
-+		if ((mbfd = open_with_exlock(path, O_APPEND|O_WRONLY,
- 		    S_IRUSR|S_IWUSR)) < 0) {
- 			merr(NOTFATAL, "%s: %s", path, strerror(errno));
- 			goto bad;
-@@ -340,3 +341,4 @@
- {
- 	merr(FATAL, "usage: mail.local [-lL] [-f from] user ...");
- }
-+


                 reply	other threads:[~2016-12-22 15:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482421615.c4c95f9073623d46cc79a277078e2f65dbe9e40a.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox