diff options
author | jwise <jwise@pkgsrc.org> | 2000-10-13 18:59:30 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2000-10-13 18:59:30 +0000 |
commit | 348152bf7b31fa0e3586ff2b29474eb01979c5ee (patch) | |
tree | ae5e9c8b5db32caa4c08a3ce3c68280558d5eeb4 /net/tcl-scotty | |
parent | 17326ef8906cbf602b7878324f0d5804946452e0 (diff) | |
download | pkgsrc-348152bf7b31fa0e3586ff2b29474eb01979c5ee.tar.gz |
Fix an obvious syntax error in patch-ae.
People should *really* test code before committing it. _Especially_ in
packages which they are not the maintainer of...
Diffstat (limited to 'net/tcl-scotty')
-rw-r--r-- | net/tcl-scotty/files/patch-sum | 4 | ||||
-rw-r--r-- | net/tcl-scotty/patches/patch-ae | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/tcl-scotty/files/patch-sum b/net/tcl-scotty/files/patch-sum index 4eadd658b32..0f6eec16085 100644 --- a/net/tcl-scotty/files/patch-sum +++ b/net/tcl-scotty/files/patch-sum @@ -1,7 +1,7 @@ -$NetBSD: patch-sum,v 1.2 2000/10/02 19:27:53 he Exp $ +$NetBSD: patch-sum,v 1.3 2000/10/13 18:59:30 jwise Exp $ MD5 (patch-aa) = 0609f277cf042b83dcd88f71cee32cb9 MD5 (patch-ab) = 208030196224c8d778a0fd7b85c7c3dd MD5 (patch-ac) = 7b8b4aa176cb87ef9ef2d08399f5ca9f MD5 (patch-ad) = d94ffd64f935a5e4531324d8c0d00050 -MD5 (patch-ae) = f83f4b94c298e36ae22704ee6072dd85 +MD5 (patch-ae) = 013d7afc29800fb604a6ea6a1510bc5e diff --git a/net/tcl-scotty/patches/patch-ae b/net/tcl-scotty/patches/patch-ae index 00052094156..3bf70dff1f9 100644 --- a/net/tcl-scotty/patches/patch-ae +++ b/net/tcl-scotty/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.1 2000/10/02 19:27:54 he Exp $ +$NetBSD: patch-ae,v 1.2 2000/10/13 18:59:31 jwise Exp $ --- tnmUnixSocket.c.orig Wed Sep 18 23:37:21 1996 +++ tnmUnixSocket.c Mon Oct 2 21:07:45 2000 @@ -16,7 +16,7 @@ $NetBSD: patch-ae,v 1.1 2000/10/02 19:27:54 he Exp $ { int s = socket(domain, type, protocol); - return (s < 0) ? TNM_SOCKET_ERROR : s; -+ return (s < 0) { ++ if (s < 0) { + return TNM_SOCKET_ERROR; + } +#ifdef O_NONBLOCK |