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

ruby-changes:38483

From: nagachika <ko1@a...>
Date: Thu, 21 May 2015 01:33:19 +0900 (JST)
Subject: [ruby-changes:38483] nagachika:r50564 (ruby_2_2): merge revision(s) 49776: [Backport #9144]

nagachika	2015-05-21 01:32:55 +0900 (Thu, 21 May 2015)

  New Revision: 50564

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

  Log:
    merge revision(s) 49776: [Backport #9144]
    
    * ext/pty/pty.c: AIX supports autopush.
      Patch by Perry Smith [ruby-core:58539] [Bug #9144]

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/ext/pty/pty.c
    branches/ruby_2_2/version.h
Index: ruby_2_2/ChangeLog
===================================================================
--- ruby_2_2/ChangeLog	(revision 50563)
+++ ruby_2_2/ChangeLog	(revision 50564)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/ChangeLog#L1
+Thu May 21 01:32:02 2015  Rei Odaira  <Rei.Odaira@g...>
+
+	* ext/pty/pty.c: AIX supports autopush.
+	  Patch by Perry Smith [ruby-core:58539] [Bug #9144]
+
 Thu May 21 01:07:41 2015  Misumi Rize  <r@a...>
 
 	* vm_insnhelper.c (vm_throw_start): search the target to break
Index: ruby_2_2/ext/pty/pty.c
===================================================================
--- ruby_2_2/ext/pty/pty.c	(revision 50563)
+++ ruby_2_2/ext/pty/pty.c	(revision 50564)
@@ -261,7 +261,7 @@ get_device_once(int *master, int *slave, https://github.com/ruby/ruby/blob/trunk/ruby_2_2/ext/pty/pty.c#L261
     if ((slavefd = rb_cloexec_open(slavedevice, O_RDWR|O_NOCTTY, 0)) == -1) goto error;
     rb_update_max_fd(slavefd);
 
-#if defined(I_PUSH) && !defined(__linux__)
+#if defined(I_PUSH) && !defined(__linux__) && !defined(_AIX)
     if (ioctl(slavefd, I_PUSH, "ptem") == -1) goto error;
     if (ioctl(slavefd, I_PUSH, "ldterm") == -1) goto error;
     if (ioctl(slavefd, I_PUSH, "ttcompat") == -1) goto error;
@@ -345,7 +345,7 @@ get_device_once(int *master, int *slave, https://github.com/ruby/ruby/blob/trunk/ruby_2_2/ext/pty/pty.c#L345
     if (no_mesg(slavedevice, nomesg) == -1) goto error;
     if((slavefd = rb_cloexec_open(slavedevice, O_RDWR, 0)) == -1) goto error;
     rb_update_max_fd(slavefd);
-#if defined(I_PUSH) && !defined(__linux__)
+#if defined(I_PUSH) && !defined(__linux__) && !defined(_AIX)
     if(ioctl(slavefd, I_PUSH, "ptem") == -1) goto error;
     if(ioctl(slavefd, I_PUSH, "ldterm") == -1) goto error;
     ioctl(slavefd, I_PUSH, "ttcompat");
Index: ruby_2_2/version.h
===================================================================
--- ruby_2_2/version.h	(revision 50563)
+++ ruby_2_2/version.h	(revision 50564)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1
 #define RUBY_VERSION "2.2.3"
 #define RUBY_RELEASE_DATE "2015-05-21"
-#define RUBY_PATCHLEVEL 113
+#define RUBY_PATCHLEVEL 114
 
 #define RUBY_RELEASE_YEAR 2015
 #define RUBY_RELEASE_MONTH 5

Property changes on: ruby_2_2
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r49776


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

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