pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/erlang/patches Remove patch that is not in distin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1937dcc28d5
branches:  trunk
changeset: 356816:e1937dcc28d5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 05 08:35:56 2017 +0000

description:
Remove patch that is not in distinfo after update.

diffstat:

 lang/erlang/patches/patch-erts_emulator_sys_unix_sys.c |  24 ------------------
 1 files changed, 0 insertions(+), 24 deletions(-)

diffs (28 lines):

diff -r 8034b4c06a76 -r e1937dcc28d5 lang/erlang/patches/patch-erts_emulator_sys_unix_sys.c
--- a/lang/erlang/patches/patch-erts_emulator_sys_unix_sys.c    Thu Jan 05 08:34:37 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-erts_emulator_sys_unix_sys.c,v 1.1 2016/10/04 07:21:30 he Exp $
-
-Don't invade the implementation namespace.
-There's no guarantee that __errno is free for own use
-(on NetBSD it isn't!)
-
---- erts/emulator/sys/unix/sys.c.orig  2016-09-20 19:11:23.000000000 +0000
-+++ erts/emulator/sys/unix/sys.c
-@@ -715,13 +715,13 @@ static RETSIGTYPE suspend_signal(void)
- static RETSIGTYPE suspend_signal(int signum)
- #endif
- {
--    int res, buf[1], __errno = errno;
-+    int res, buf[1], save_errno = errno;
-     do {
-         res = read(sig_suspend_fds[0], buf, sizeof(int));
-     } while (res < 0 && errno == EINTR);
- 
-     /* restore previous errno in case read changed it */
--    errno = __errno;
-+    errno = save_errno;
- }
- #endif /* #ifdef ERTS_SYS_SUSPEND_SIGNAL */
- 



Home | Main Index | Thread Index | Old Index