Skip to content

Commit f1cb00f

Browse files
committed
merge revision(s) 49776: [Backport ruby#9144]
* ext/pty/pty.c: AIX supports autopush. Patch by Perry Smith [ruby-core:58539] [Bug ruby#9144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 79881c9 commit f1cb00f

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Thu May 21 09:46:58 2015 Rei Odaira <Rei.Odaira@gmail.com>
2+
3+
* ext/pty/pty.c: AIX supports autopush.
4+
Patch by Perry Smith [ruby-core:58539] [Bug #9144]
5+
16
Wed May 20 17:34:43 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
27

38
* iseq.c (rb_iseq_compile_with_option): check source type, must be

ext/pty/pty.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ get_device_once(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg,
262262
if ((slavefd = rb_cloexec_open(slavedevice, O_RDWR|O_NOCTTY, 0)) == -1) goto error;
263263
rb_update_max_fd(slavefd);
264264

265-
#if defined(I_PUSH) && !defined(__linux__)
265+
#if defined(I_PUSH) && !defined(__linux__) && !defined(_AIX)
266266
if (ioctl(slavefd, I_PUSH, "ptem") == -1) goto error;
267267
if (ioctl(slavefd, I_PUSH, "ldterm") == -1) goto error;
268268
if (ioctl(slavefd, I_PUSH, "ttcompat") == -1) goto error;
@@ -346,7 +346,7 @@ get_device_once(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg,
346346
if (no_mesg(slavedevice, nomesg) == -1) goto error;
347347
if((slavefd = rb_cloexec_open(slavedevice, O_RDWR, 0)) == -1) goto error;
348348
rb_update_max_fd(slavefd);
349-
#if defined(I_PUSH) && !defined(__linux__)
349+
#if defined(I_PUSH) && !defined(__linux__) && !defined(_AIX)
350350
if(ioctl(slavefd, I_PUSH, "ptem") == -1) goto error;
351351
if(ioctl(slavefd, I_PUSH, "ldterm") == -1) goto error;
352352
ioctl(slavefd, I_PUSH, "ttcompat");

version.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#define RUBY_VERSION "2.1.7"
2-
#define RUBY_RELEASE_DATE "2015-05-20"
3-
#define RUBY_PATCHLEVEL 345
2+
#define RUBY_RELEASE_DATE "2015-05-21"
3+
#define RUBY_PATCHLEVEL 346
44

55
#define RUBY_RELEASE_YEAR 2015
66
#define RUBY_RELEASE_MONTH 5
7-
#define RUBY_RELEASE_DAY 20
7+
#define RUBY_RELEASE_DAY 21
88

99
#include "ruby/version.h"
1010

0 commit comments

Comments
 (0)