ruby-changes:6890
From: usa <ko1@a...>
Date: Thu, 7 Aug 2008 13:14:39 +0900 (JST)
Subject: [ruby-changes:6890] Ruby:r18408 (trunk): * ext/socket/getaddrinfo.c (gai_strerror): ignore only on Haiku.
usa 2008-08-07 13:14:25 +0900 (Thu, 07 Aug 2008) New Revision: 18408 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18408 Log: * ext/socket/getaddrinfo.c (gai_strerror): ignore only on Haiku. a patch from <znz at mbf.nifty.com>, [ruby-dev:35796]. Modified files: trunk/ChangeLog trunk/ext/socket/getaddrinfo.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18407) +++ ChangeLog (revision 18408) @@ -1,3 +1,8 @@ +Thu Aug 7 13:12:30 2008 NAKAMURA Usaku <usa@r...> + + * ext/socket/getaddrinfo.c (gai_strerror): ignore only on Haiku. + a patch from <znz at mbf.nifty.com>, [ruby-dev:35796]. + Thu Aug 7 06:31:12 2008 NARUSE, Yui <naruse@r...> * test/ruby/process.rb (test_popen_fork): skip a test which is Index: ext/socket/getaddrinfo.c =================================================================== --- ext/socket/getaddrinfo.c (revision 18407) +++ ext/socket/getaddrinfo.c (revision 18408) @@ -194,7 +194,7 @@ #define ERR(err) { error = (err); goto bad; } -/* +#ifndef __HAIKU__ #if defined __UCLIBC__ const #endif @@ -205,7 +205,7 @@ ecode = EAI_MAX; return (char *)ai_errlist[ecode]; } -*/ +#endif void freeaddrinfo(struct addrinfo *ai) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/