Commit 9649560
Cygwin: Quash Windows error text to user on fork() error
For a very long time, since 2011 or earlier, fork() has printed an internal
error message when it fails due to a CreateProcess() error. This patch
quashes the error message as far as the user can tell, but it will still be
present in an strace.
This change is a judgement call based on the fact we now support
RLIMIT_NPROC and so a user limiting the number of subprocesses may hit
more CreateProcess() errors by design. Don't clutter the scene.
Fixes: 8551087 (* dll_init.c (dll_list::load_after_fork): Don't
clear in_forkee here.)
Signed-off-by: Mark Geisert <mark@maxrnd.com>1 parent f077ba2 commit 9649560
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| 403 | + | |
403 | 404 | | |
404 | 405 | | |
405 | 406 | | |
| |||
0 commit comments