OSDN Git Service

* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock when
authorcgf <cgf>
Sun, 5 Jan 2003 06:36:49 +0000 (06:36 +0000)
committercgf <cgf>
Sun, 5 Jan 2003 06:36:49 +0000 (06:36 +0000)
leaving.

winsup/cygwin/ChangeLog
winsup/cygwin/pinfo.cc

index 2c2e9eb..4060b1f 100644 (file)
@@ -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
index 3c5af4b..336405f 100644 (file)
@@ -424,7 +424,7 @@ err:
   res.n = 0;
 out:
   myself->hello_pid = 0;
-  LeaveCriticalSection (&lock);
+  LeaveCriticalSection (&myself->lock);
   return res;
 }