Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r--winsup/cygwin/debug.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc
index fa0177384..369b3908f 100644
--- a/winsup/cygwin/debug.cc
+++ b/winsup/cygwin/debug.cc
@@ -229,6 +229,7 @@ setclexec (HANDLE oh, HANDLE nh, bool setit)
handle_list *hl = find_handle (oh);
if (hl)
{
+ hl = hl->next;
hl->clexec = setit;
hl->h = nh;
}