ruby-changes:3232
From: ko1@a...
Date: 27 Dec 2007 10:47:23 +0900
Subject: [ruby-changes:3232] matz - Ruby:r14725 (trunk): * ext/socket/socket.c: a patch to support IRIX from Andrew
matz 2007-12-27 10:47:11 +0900 (Thu, 27 Dec 2007)
New Revision: 14725
Modified files:
trunk/ChangeLog
trunk/configure.in
trunk/ext/socket/socket.c
Log:
* ext/socket/socket.c: a patch to support IRIX from Andrew
Thompson <andrew@h...> in [ruby-core:14447].
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14725&r2=14724
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/socket/socket.c?r1=14725&r2=14724
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/configure.in?r1=14725&r2=14724
Index: configure.in
===================================================================
--- configure.in (revision 14724)
+++ configure.in (revision 14725)
@@ -566,7 +566,7 @@
AC_CHECK_HEADERS(stdlib.h string.h unistd.h limits.h sys/file.h sys/ioctl.h sys/syscall.h\
fcntl.h sys/fcntl.h sys/select.h sys/time.h sys/times.h sys/param.h\
syscall.h pwd.h grp.h a.out.h utime.h memory.h direct.h sys/resource.h \
- sys/mkdev.h sys/utime.h netinet/in_systm.h float.h ieeefp.h pthread.h \
+ sys/mkdev.h sys/utime.h xti.h netinet/in_systm.h float.h ieeefp.h pthread.h \
ucontext.h intrinsics.h langinfo.h locale.h)
dnl Check additional types.
Index: ChangeLog
===================================================================
--- ChangeLog (revision 14724)
+++ ChangeLog (revision 14725)
@@ -1,3 +1,8 @@
+Thu Dec 27 10:44:03 2007 Yukihiro Matsumoto <matz@r...>
+
+ * ext/socket/socket.c: a patch to support IRIX from Andrew
+ Thompson <andrew@h...> in [ruby-core:14447].
+
Thu Dec 27 02:25:45 2007 NAKAMURA Usaku <usa@r...>
* lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCES
Index: ext/socket/socket.c
===================================================================
--- ext/socket/socket.c (revision 14724)
+++ ext/socket/socket.c (revision 14725)
@@ -25,6 +25,10 @@
#include <sys/uio.h>
#endif
+#ifdef HAVE_XTI_H
+#include <xti.h>
+#endif
+
#ifndef _WIN32
#if defined(__BEOS__)
# include <net/socket.h>
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml