1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/socket.c (raise_socket_error): some platforms don't have

EAI_SYSTEM.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2004-04-05 03:14:05 +00:00
parent 2ca96a332b
commit 5acb4437c7
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Mon Apr 5 12:12:09 2004 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/socket/socket.c (raise_socket_error): some platforms don't have
EAI_SYSTEM.
Mon Apr 5 08:18:23 2004 Dave Thomas <dave@pragprog.com>
* 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 <dave@pragprog.com>
Sun Apr 4 14:01:20 2004 Dave Thomas <dave@pragprog.com>
* 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 <why@ruby-lang.org>

View file

@ -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));
}