* 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:
parent
2ca96a332b
commit
5acb4437c7
@ -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>
|
Mon Apr 5 08:18:23 2004 Dave Thomas <dave@pragprog.com>
|
||||||
|
|
||||||
* lib/rdoc/rdoc.rb: Remove leading ./ from file names so that cross
|
* 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>
|
Sun Apr 4 14:01:20 2004 Dave Thomas <dave@pragprog.com>
|
||||||
|
|
||||||
* lib/rdoc/options.rb (Options::parse): Allow multiple -x options to RDoc.
|
* lib/rdoc/options.rb (Options::parse): Allow multiple -x options to
|
||||||
Fix bug where files weren't being excluded properly
|
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>
|
Sat Apr 3 09:36:38 2004 why the lucky stiff <why@ruby-lang.org>
|
||||||
|
|
||||||
|
@ -533,7 +533,9 @@ raise_socket_error(reason, error)
|
|||||||
char *reason;
|
char *reason;
|
||||||
int error;
|
int error;
|
||||||
{
|
{
|
||||||
|
#ifdef EAI_SYSTEM
|
||||||
if (error == EAI_SYSTEM) rb_sys_fail(reason);
|
if (error == EAI_SYSTEM) rb_sys_fail(reason);
|
||||||
|
#endif
|
||||||
rb_raise(rb_eSocket, "%s: %s", reason, gai_strerror(error));
|
rb_raise(rb_eSocket, "%s: %s", reason, gai_strerror(error));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user