Actions
Bug #5962
closedError in Process.{wait,wait2} rdoc
Description
The rdoc for Process.{wait,wait2} claim they will raise "SystemError". That exception doesn't exist. In reality they seem to raise Errno::ECHILD:
Process.wait
Errno::ECHILD: No child processes
Although perhaps the intention was to document that they raise SystemCallError (ECHILD's superclass)? I'm including patches for both, feel free to pick either one.
Updated by drbrain (Eric Hodel) about 12 years ago
- Category set to doc
- Assignee set to drbrain (Eric Hodel)
Updated by drbrain (Eric Hodel) about 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r34587.
Jason, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- process.c (proc_wait): Change typo "SystemError" to
"SystemCallError". [ruby-trunk - Bug #5962] - process.c (proc_wait2): ditto
Actions
Like0
Like0Like0