mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/io/console/console.c (ttymode): save dupped file descriptors
and restore tty modes using them, so that original modes can be restored even if orignal fds are closed. [ruby-dev:41225] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f491696f4b
commit
6f3830427d
3 changed files with 37 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ else
|
|||
end
|
||||
have_header("sys/ioctl.h")
|
||||
have_func("rb_io_get_write_io", "ruby/io.h")
|
||||
have_func("dup3", "unistd.h")
|
||||
if ok
|
||||
create_makefile("io/console")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue