mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (proc_wait): Change typo "SystemError" to
"SystemCallError". [ruby-trunk - Bug #5962] * process.c (proc_wait2): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a63b86e2a8
commit
9d7573c41a
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Feb 14 05:23:40 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* process.c (proc_wait): Change typo "SystemError" to
|
||||
"SystemCallError". [ruby-trunk - Bug #5962]
|
||||
* process.c (proc_wait2): ditto
|
||||
|
||||
Tue Feb 14 05:18:24 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* enumerator.c: Document use of Enumerator.new for creating a lazy
|
||||
|
|
|
@ -750,8 +750,8 @@ rb_waitpid(rb_pid_t pid, int *st, int flags)
|
|||
* haven't been reported). Not all flags are available on all
|
||||
* platforms, but a flag value of zero will work on all platforms.
|
||||
*
|
||||
* Calling this method raises a <code>SystemError</code> if there are
|
||||
* no child processes. Not available on all platforms.
|
||||
* Calling this method raises a SystemCallError if there are no child
|
||||
* processes. Not available on all platforms.
|
||||
*
|
||||
* include Process
|
||||
* fork { exit 99 } #=> 27429
|
||||
|
@ -803,8 +803,7 @@ proc_wait(int argc, VALUE *argv)
|
|||
* Waits for a child process to exit (see Process::waitpid for exact
|
||||
* semantics) and returns an array containing the process id and the
|
||||
* exit status (a <code>Process::Status</code> object) of that
|
||||
* child. Raises a <code>SystemError</code> if there are no child
|
||||
* processes.
|
||||
* child. Raises a SystemCallError if there are no child processes.
|
||||
*
|
||||
* Process.fork { exit 99 } #=> 27437
|
||||
* pid, status = Process.wait2
|
||||
|
|
Loading…
Reference in a new issue