1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

pty.c: fix example typo [ci skip]

* ext/pty/pty.c: [DOC] fix example typo, an old name at move from
  PTY.open.  [Fix GH-972]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-07-19 05:29:21 +00:00
parent ce6ee740b6
commit 28c389c676
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Jul 19 14:29:18 2015 windwiny <windwiny.ubt@gmail.com>
* ext/pty/pty.c: [DOC] fix example typo, an old name at move from
PTY.open. [Fix GH-972]
Sat Jul 18 21:29:19 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (vm_check_ints_blocking): gather common statements at

View file

@ -733,7 +733,7 @@ static VALUE cPTY;
* # The result of read operation when pty slave is closed is platform
* # dependent.
* ret = begin
* m.gets # FreeBSD returns nil.
* master.gets # FreeBSD returns nil.
* rescue Errno::EIO # GNU/Linux raises EIO.
* nil
* end