summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-12-03 12:38:19 +0100
committerCorinna Vinschen <corinna@vinschen.de>2015-12-03 13:26:34 +0100
commit600c44512756da11f45bd47b64f9c9cb9b6aa955 (patch)
tree2db019c60e1ddc93e42b1901b0aac28a52934705 /winsup/cygwin/dcrt0.cc
parent89e86492b36cd15876ebb0ed725fbb4308828a9e (diff)
downloadcygnal-600c44512756da11f45bd47b64f9c9cb9b6aa955.tar.gz
cygnal-600c44512756da11f45bd47b64f9c9cb9b6aa955.tar.bz2
cygnal-600c44512756da11f45bd47b64f9c9cb9b6aa955.zip
Add missing dcrt0.cc patch to previous commit
* dcrt0.cc (child_info_fork::alloc_stack): Don't set stackaddr to 0. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index de95121c7..ac3360c19 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -486,7 +486,6 @@ child_info_fork::alloc_stack ()
guardpage);
NtCurrentTeb()->Tib.StackLimit = stacklimit;
}
- stackaddr = 0;
/* This only affects forked children of a process started from a native
64 bit process, but it doesn't hurt to do it unconditionally. Fix
StackBase in the child to be the same as in the parent, so that the