summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 1253b23eb..1d381d8bb 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -456,22 +456,9 @@ proc_terminate (void)
pchildren[i].release ();
}
nchildren = nzombies = 0;
-
/* Just zero sync_proc_subproc as the delete below seems to cause
problems for older gccs. */
- #if 1
sync_proc_subproc = NULL;
- #else
- /* Attempt to close and release sync_proc_subproc in a
- * non-raceable manner.
- */
- muto *m = sync_proc_subproc;
- if (m)
- {
- sync_proc_subproc = NULL;
- // delete m;
- }
- #endif
}
sigproc_printf ("leaving");
}