aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/sync.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-17 03:05:05 +0000
committerChristopher Faylor <me@cgf.cx>2001-09-17 03:05:05 +0000
commit60136eb0b28717fb8e861c51f5a798c495960a06 (patch)
treeee19a95621201a3dae2b414ac8582c1a6814bc29 /winsup/cygwin/sync.cc
parent0aca521ab84e3f020085891bdab652680368ce4f (diff)
downloadnewlib-60136eb0b28717fb8e861c51f5a798c495960a06.zip
newlib-60136eb0b28717fb8e861c51f5a798c495960a06.tar.gz
newlib-60136eb0b28717fb8e861c51f5a798c495960a06.tar.bz2
* dtable.h (not_open): Assure inline.
* fhandler.h (operator []): Make const. * sync.cc (muto::~muto): Fix typo which stopped muto event handle from ever being closed.
Diffstat (limited to 'winsup/cygwin/sync.cc')
-rw-r--r--winsup/cygwin/sync.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sync.cc b/winsup/cygwin/sync.cc
index 78df354..743ee02 100644
--- a/winsup/cygwin/sync.cc
+++ b/winsup/cygwin/sync.cc
@@ -47,7 +47,7 @@ muto::~muto ()
release ();
HANDLE h = bruteforce;
- h = NULL;
+ bruteforce = NULL;
/* Just need to close the event handle */
if (h)
CloseHandle (h);