[前][次][番号順一覧][スレッド一覧]

ruby-changes:9748

From: akr <ko1@a...>
Date: Sun, 4 Jan 2009 04:34:36 +0900 (JST)
Subject: [ruby-changes:9748] Ruby:r21289 (trunk): * ext/socket/socket.c: redundant #ifdef removed.

akr	2009-01-04 04:34:17 +0900 (Sun, 04 Jan 2009)

  New Revision: 21289

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21289

  Log:
    * ext/socket/socket.c: redundant #ifdef removed.

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/socket.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21288)
+++ ChangeLog	(revision 21289)
@@ -1,3 +1,7 @@
+Sun Jan  4 04:33:14 2009  Tanaka Akira  <akr@f...>
+
+	* ext/socket/socket.c: redundant #ifdef removed.
+
 Sun Jan  4 03:30:18 2009  Tanaka Akira  <akr@f...>
 
 	* io.c (maygvl_copy_stream_wait_read): renamed to add prefix to
Index: ext/socket/socket.c
===================================================================
--- ext/socket/socket.c	(revision 21288)
+++ ext/socket/socket.c	(revision 21289)
@@ -2298,14 +2298,12 @@
     return s_accept(0, fptr->fd, (struct sockaddr*)&from, &fromlen);
 }
 
-#ifdef HAVE_SYS_UN_H
 static VALUE
 unixaddr(struct sockaddr_un *sockaddr, socklen_t len)
 {
     return rb_assoc_new(rb_str_new2("AF_UNIX"),
                         rb_str_new2(unixpath(sockaddr, len)));
 }
-#endif
 
 static VALUE
 unix_addr(VALUE sock)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]