* [gentoo-commits] gentoo-x86 commit in net-misc/jwhois/files: jwhois-4.0-connect-logic.patch
@ 2012-08-18 5:24 Mike Frysinger (vapier)
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2012-08-18 5:24 UTC (permalink / raw
To: gentoo-commits
vapier 12/08/18 05:24:09
Added: jwhois-4.0-connect-logic.patch
Log:
Fix network connect bug (as seen with .tel domains) #276751 by DEMAINE Benoît-Pierre, aka DoubleHP.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Revision Changes Path
1.1 net-misc/jwhois/files/jwhois-4.0-connect-logic.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/jwhois/files/jwhois-4.0-connect-logic.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/jwhois/files/jwhois-4.0-connect-logic.patch?rev=1.1&content-type=text/plain
Index: jwhois-4.0-connect-logic.patch
===================================================================
https://bugs.gentoo.org/276751
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542148
https://savannah.gnu.org/bugs/index.php?37135
--- a/src/utils.c
+++ b/src/utils.c
@@ -288,7 +288,7 @@ make_connect(const char *host, int port)
retlen = sizeof(retval);
error = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &retval, &retlen);
- if (error < 0 || retval)
+ if (error == 0 && !retval)
{
break;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/jwhois/files: jwhois-4.0-connect-logic.patch
@ 2012-08-18 18:42 Mike Frysinger (vapier)
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2012-08-18 18:42 UTC (permalink / raw
To: gentoo-commits
vapier 12/08/18 18:42:29
Modified: jwhois-4.0-connect-logic.patch
Log:
adjust bug references
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Revision Changes Path
1.2 net-misc/jwhois/files/jwhois-4.0-connect-logic.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/jwhois/files/jwhois-4.0-connect-logic.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/jwhois/files/jwhois-4.0-connect-logic.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/jwhois/files/jwhois-4.0-connect-logic.patch?r1=1.1&r2=1.2
Index: jwhois-4.0-connect-logic.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/jwhois/files/jwhois-4.0-connect-logic.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jwhois-4.0-connect-logic.patch 18 Aug 2012 05:24:08 -0000 1.1
+++ jwhois-4.0-connect-logic.patch 18 Aug 2012 18:42:29 -0000 1.2
@@ -1,4 +1,4 @@
-https://bugs.gentoo.org/276751
+https://bugs.gentoo.org/208875
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542148
https://savannah.gnu.org/bugs/index.php?37135
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-18 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-18 18:42 [gentoo-commits] gentoo-x86 commit in net-misc/jwhois/files: jwhois-4.0-connect-logic.patch Mike Frysinger (vapier)
-- strict thread matches above, loose matches on Subject: below --
2012-08-18 5:24 Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox