summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fork.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-05-28 20:41:51 +0000
committerChristopher Faylor <me@cgf.cx>2011-05-28 20:41:51 +0000
commit07f89f85dbae1e891e8d45b5477db24c66f774b4 (patch)
treec8f31468bc92438229be72cef33c990d8f069c4d /winsup/cygwin/fork.cc
parent17a5c8c36ec36849772073b2cfa027aa347b48f2 (diff)
downloadcygnal-07f89f85dbae1e891e8d45b5477db24c66f774b4.tar.gz
cygnal-07f89f85dbae1e891e8d45b5477db24c66f774b4.tar.bz2
cygnal-07f89f85dbae1e891e8d45b5477db24c66f774b4.zip
Revert previous checkins as they introduced a bug when running zsh.
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r--winsup/cygwin/fork.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc
index 1ac2b8a45..3ec7fa8c5 100644
--- a/winsup/cygwin/fork.cc
+++ b/winsup/cygwin/fork.cc
@@ -625,7 +625,7 @@ fork ()
the thread-local storage. A process forking too deeply will run into
the problem to be out of temporary TLS path buffers. */
tmp_pathbuf tp;
-
+
if (!held_everything)
{
if (exit_state)
@@ -634,12 +634,6 @@ fork ()
return -1;
}
- /* Put the dll list in topological dependency ordering, in
- hopes that the child will have a better shot at loading dlls
- properly if it only has to deal with one at a time.
- */
- dlls.topsort ();
-
ischild = !!setjmp (grouped.ch.jmp);
volatile char * volatile esp;