Skip to content

Commit fad3a35

Browse files
committed
merge revision(s) r46382,r46384,r46913: [Backport ruby#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 ruby#9914] * configure.in (posix_fadvise): disable use of posix_fadvise itself on 32-bit AIX. [ruby-core:62968] [Bug ruby#9914] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 9967966 commit fad3a35

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
Mon Aug 11 22:34:47 2014 Nobuyoshi Nakada <[email protected]>
2+
3+
* configure.in (posix_fadvise): disable use of posix_fadvise
4+
itself on 32-bit AIX. [ruby-core:62968] [Bug #9914]
5+
6+
Mon Aug 11 22:34:47 2014 <[email protected]>
7+
8+
* io.c (rb_io_advise): AIX currently does not support a 32-bit call to
9+
posix_fadvise() if _LARGE_FILES is defined. Patch by Rei Odaira.
10+
[ruby-core:62968] [Bug #9914]
11+
112
Mon Aug 11 22:14:28 2014 Nobuyoshi Nakada <[email protected]>
213

314
* vm_insnhelper.c (vm_callee_setup_keyword_arg): adjust VM stack

configure.in

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,18 @@ mv confdefs.h largefile.h
11551155
mv confdefs1.h confdefs.h
11561156
cat largefile.h >> confdefs.h
11571157

1158-
AS_CASE(["$target_os"],[mingw*], [ac_cv_type_off_t=yes;ac_cv_sizeof_off_t=8])
1158+
AS_CASE(["$target_os"],
1159+
[mingw*], [ac_cv_type_off_t=yes;ac_cv_sizeof_off_t=8],
1160+
[aix*], [
1161+
AS_CASE(["$target_cpu:$ac_cv_sys_large_files"],
1162+
[ppc64:*|powerpc64:*], [],
1163+
[*:no|*:unknown], [],
1164+
[
1165+
# AIX currently does not support a 32-bit call to posix_fadvise()
1166+
# if _LARGE_FILES is defined.
1167+
ac_cv_posix_fadvise=no
1168+
])
1169+
])
11591170

11601171
AC_C_BIGENDIAN
11611172
AC_C_CONST

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.2"
22
#define RUBY_RELEASE_DATE "2014-08-11"
3-
#define RUBY_PATCHLEVEL 197
3+
#define RUBY_PATCHLEVEL 198
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 8

0 commit comments

Comments
 (0)