diff --git a/ChangeLog b/ChangeLog index 40c8376d82..a25e8dfb12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 5 12:12:09 2004 NAKAMURA Usaku + + * ext/socket/socket.c (raise_socket_error): some platforms don't have + EAI_SYSTEM. + Mon Apr 5 08:18:23 2004 Dave Thomas * lib/rdoc/rdoc.rb: Remove leading ./ from file names so that cross @@ -5,8 +10,8 @@ Mon Apr 5 08:18:23 2004 Dave Thomas Sun Apr 4 14:01:20 2004 Dave Thomas - * lib/rdoc/options.rb (Options::parse): Allow multiple -x options to RDoc. - Fix bug where files weren't being excluded properly + * lib/rdoc/options.rb (Options::parse): Allow multiple -x options to + RDoc. Fix bug where files weren't being excluded properly Sat Apr 3 09:36:38 2004 why the lucky stiff diff --git a/ext/socket/socket.c b/ext/socket/socket.c index d9b2e8d606..72cf058a78 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -533,7 +533,9 @@ raise_socket_error(reason, error) char *reason; int error; { +#ifdef EAI_SYSTEM if (error == EAI_SYSTEM) rb_sys_fail(reason); +#endif rb_raise(rb_eSocket, "%s: %s", reason, gai_strerror(error)); }