Skip to content

Commit

Permalink
* ext/socket/socket.c (raise_socket_error): some platforms don't have
Browse files Browse the repository at this point in the history
  EAI_SYSTEM.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
unak committed Apr 5, 2004
1 parent 2ca96a3 commit 5acb443
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
Mon Apr 5 12:12:09 2004 NAKAMURA Usaku <[email protected]>

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

Mon Apr 5 08:18:23 2004 Dave Thomas <[email protected]>

* lib/rdoc/rdoc.rb: Remove leading ./ from file names so that cross
references work properly.

Sun Apr 4 14:01:20 2004 Dave Thomas <[email protected]>

* 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 <[email protected]>

Expand Down
2 changes: 2 additions & 0 deletions ext/socket/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 5acb443

Please sign in to comment.