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:
authorChristopher Faylor <me@cgf.cx>2003-01-05 09:36:50 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-05 09:36:50 +0300
commitcbdbe9d766cdf8a3b48d20563d9983db6e6f16f8 (patch)
tree3786b179eae2dbd06779215a34de7dccf7b7d1a6
parent8b052ae3f6d2f839b42926614eb43ff91d4efd9c (diff)
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock when
leaving.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/pinfo.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 2c2e9eb5b..4060b1f01 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-05 Christopher Faylor <cgf@redhat.com>
+
+ * pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just
+ lock when leaving.
+
2003-01-03 Christopher Faylor <cgf@redhat.com>
* dtable.h (dtable::in_vfork_cleanup): New function. True if vfork
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 3c5af4bce..336405fde 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -424,7 +424,7 @@ err:
res.n = 0;
out:
myself->hello_pid = 0;
- LeaveCriticalSection (&lock);
+ LeaveCriticalSection (&myself->lock);
return res;
}