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

ruby-changes:35285

From: usa <ko1@a...>
Date: Wed, 3 Sep 2014 13:18:39 +0900 (JST)
Subject: [ruby-changes:35285] usa:r47367 (ruby_2_0_0): merge revision(s) 46382, 46384, 46913: [Backport #9914]

usa	2014-09-03 13:18:32 +0900 (Wed, 03 Sep 2014)

  New Revision: 47367

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

  Log:
    merge revision(s) 46382,46384,46913: [Backport #9914]
    
    * io.c (rb_io_advise): AIX currently does not support a 32-bit call to
      posix_fadvise() if _LARGE_FILES is defined. Patch by Rei Odaira.
      [ruby-core:62968] [Bug #9914]
    
    * configure.in (posix_fadvise): disable use of posix_fadvise
      itself on 32-bit AIX.  [ruby-core:62968] [Bug #9914]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/configure.in
    branches/ruby_2_0_0/version.h
Index: ruby_2_0_0/configure.in
===================================================================
--- ruby_2_0_0/configure.in	(revision 47366)
+++ ruby_2_0_0/configure.in	(revision 47367)
@@ -1001,7 +1001,18 @@ mv confdefs.h largefile.h https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/configure.in#L1001
 mv confdefs1.h confdefs.h
 cat largefile.h >> confdefs.h
 
-AS_CASE(["$target_os"],[mingw*], [ac_cv_type_off_t=yes;ac_cv_sizeof_off_t=8])
+AS_CASE(["$target_os"],
+    [mingw*], [ac_cv_type_off_t=yes;ac_cv_sizeof_off_t=8],
+    [aix*], [
+    AS_CASE(["$target_cpu:$ac_cv_sys_large_files"],
+	[ppc64:*|powerpc64:*], [],
+	[*:no|*:unknown], [],
+	[
+	    # AIX currently does not support a 32-bit call to posix_fadvise()
+	    # if _LARGE_FILES is defined.
+	    ac_cv_posix_fadvise=no
+	])
+    ])
 
 AC_C_BIGENDIAN
 AC_C_CONST
Index: ruby_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 47366)
+++ ruby_2_0_0/ChangeLog	(revision 47367)
@@ -1,3 +1,14 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1
+Wed Sep  3 13:17:38 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (posix_fadvise): disable use of posix_fadvise
+	  itself on 32-bit AIX.  [ruby-core:62968] [Bug #9914]
+
+Wed Sep  3 13:17:38 2014    <kanemoto@r...>
+
+	* io.c (rb_io_advise): AIX currently does not support a 32-bit call to
+	  posix_fadvise() if _LARGE_FILES is defined. Patch by Rei Odaira.
+	  [ruby-core:62968] [Bug #9914]
+
 Wed Sep  3 12:48:14 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/stringio/stringio.c (strio_write): use rb_str_append to
Index: ruby_2_0_0/version.h
===================================================================
--- ruby_2_0_0/version.h	(revision 47366)
+++ ruby_2_0_0/version.h	(revision 47367)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1
 #define RUBY_VERSION "2.0.0"
 #define RUBY_RELEASE_DATE "2014-09-03"
-#define RUBY_PATCHLEVEL 545
+#define RUBY_PATCHLEVEL 546
 
 #define RUBY_RELEASE_YEAR 2014
 #define RUBY_RELEASE_MONTH 9

Property changes on: ruby_2_0_0
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r46382,46384,46913


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

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