diff options
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 931ebd9e8..094c0a09a 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -891,6 +891,8 @@ dll_crt0_1 (void *) _tlstop = (char *) fork_info->stacktop; } + /* Not resetting _my_tls.incyg here because presumably fork will overwrite + it with the value of the forker and all will be good. */ longjmp (fork_info->jmp, true); } |