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
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-14 20:16:33 +0400
committerChristopher Faylor <me@cgf.cx>2002-07-14 20:16:33 +0400
commitf5c3d180804531dabb521513b8d9da9a6b313f06 (patch)
treef7e4c800e74eb598982c1be2195a9da3cf6abf58 /winsup
parente8a6396f8843d9f3ef1a5d70953e995d8af0aa5f (diff)
* debug.cc (clexec): Add missing `hl = hl->next'.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/debug.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 4b1558aa7..98ccb9d2c 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-14 Conrad Scott <conrad.scott@dsl.pipex.com>
+
+ * debug.cc (clexec): Add missing `hl = hl->next'.
+
2002-07-14 Christopher Faylor <cgf@redhat.com>
* Makefile.in (cygrun.exe): Add a -lcygwin on the end.
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;
}