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

ruby-changes:12312

From: wyhaines <ko1@a...>
Date: Fri, 10 Jul 2009 03:30:06 +0900 (JST)
Subject: [ruby-changes:12312] Ruby:r24007 (ruby_1_8_6): ext/socket/extconf.rb: Corrected function definitions to specify return values.

wyhaines	2009-07-10 03:29:13 +0900 (Fri, 10 Jul 2009)

  New Revision: 24007

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

  Log:
    ext/socket/extconf.rb: Corrected function definitions to specify return values.

  Modified files:
    branches/ruby_1_8_6/ChangeLog
    branches/ruby_1_8_6/ext/socket/extconf.rb
    branches/ruby_1_8_6/version.h

Index: ruby_1_8_6/ext/socket/extconf.rb
===================================================================
--- ruby_1_8_6/ext/socket/extconf.rb	(revision 24006)
+++ ruby_1_8_6/ext/socket/extconf.rb	(revision 24007)
@@ -43,6 +43,7 @@
   if checking_for("ipv6") {try_link(<<EOF)}
 #include <sys/types.h>
 #include <sys/socket.h>
+int
 main()
 {
   socket(AF_INET6, SOCK_STREAM, 0);
@@ -135,6 +136,7 @@
 #define AF_LOCAL AF_UNIX
 #endif
 
+int
 main()
 {
   int passive, gaierr, inet4 = 0, inet6 = 0;
Index: ruby_1_8_6/ChangeLog
===================================================================
--- ruby_1_8_6/ChangeLog	(revision 24006)
+++ ruby_1_8_6/ChangeLog	(revision 24007)
@@ -6,6 +6,8 @@
 
 	* node.h: Remove surplus comma
 
+	* ext/socket/extconf.rb: Corrected function definitions to specify return values.
+
 Mon Jun  8 12:46:00 2009  Kirk Haines <khaines@r...>
 
 	* lib/soap/mimemessage.rb: Fixed a typo -- conent -> content
Index: ruby_1_8_6/version.h
===================================================================
--- ruby_1_8_6/version.h	(revision 24006)
+++ ruby_1_8_6/version.h	(revision 24007)
@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE "2009-06-08"
 #define RUBY_VERSION_CODE 186
 #define RUBY_RELEASE_CODE 20090608
-#define RUBY_PATCHLEVEL 372
+#define RUBY_PATCHLEVEL 373
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8

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

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