Commit 05558c9
committed
merge revision(s) 44687,44706,44727: [Backport ruby#8770]
* process.c (recv_child_error): Fix deadlock in rb_fork_internal when a
signal is sent to the parent process while Ruby is forking in IO.popen.
Patch by Scott Francis. Closes rubyGH-513.
* process.c (send_child_error): retry write on EINTR to fix
occasional Errno::EINTR from Process.spawn.
* process.c (recv_child_error): retry read on EINTR to fix
occasional Errno::EINTR from Process.spawn.
* process.c (READ_FROM_CHILD): Apply the last hunk of
0001-process.c-avoid-EINTR-from-Process.spawn.patch written by
Eric Wong in [Bug ruby#8770].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e1 parent 5b05fa5 commit 05558c9
3 files changed
Lines changed: 44 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3296 | 3296 | | |
3297 | 3297 | | |
3298 | 3298 | | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
3299 | 3323 | | |
3300 | 3324 | | |
3301 | 3325 | | |
3302 | 3326 | | |
3303 | 3327 | | |
3304 | 3328 | | |
3305 | 3329 | | |
3306 | | - | |
| 3330 | + | |
3307 | 3331 | | |
3308 | 3332 | | |
3309 | 3333 | | |
3310 | 3334 | | |
3311 | 3335 | | |
3312 | 3336 | | |
3313 | 3337 | | |
3314 | | - | |
| 3338 | + | |
3315 | 3339 | | |
3316 | 3340 | | |
3317 | 3341 | | |
3318 | | - | |
| 3342 | + | |
3319 | 3343 | | |
3320 | 3344 | | |
3321 | 3345 | | |
| |||
3329 | 3353 | | |
3330 | 3354 | | |
3331 | 3355 | | |
3332 | | - | |
| 3356 | + | |
3333 | 3357 | | |
3334 | 3358 | | |
3335 | 3359 | | |
| |||
3338 | 3362 | | |
3339 | 3363 | | |
3340 | 3364 | | |
3341 | | - | |
| 3365 | + | |
3342 | 3366 | | |
3343 | 3367 | | |
3344 | 3368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments