зеркало из https://github.com/github/ruby.git
* ext/pty/pty.c: AIX supports autopush. Patch by Perry Smith [ruby-core:58539] [Bug #9144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d9c32d62a0
Коммит
87ac21590e
|
@ -1,3 +1,8 @@
|
|||
Sat Feb 28 08:24:30 2015 Rei Odaira <Rei.Odaira@gmail.com>
|
||||
|
||||
* ext/pty/pty.c: AIX supports autopush.
|
||||
Patch by Perry Smith [ruby-core:58539] [Bug #9144]
|
||||
|
||||
Fri Feb 27 22:00:05 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/rubygems: Update to RubyGems 2.4.6 and HEAD(800f2e6).
|
||||
|
|
|
@ -261,7 +261,7 @@ get_device_once(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg,
|
|||
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, char SlaveName[DEVICELEN], int nomesg,
|
|||
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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче