OSDN Git Service

* pinfo.cc (winpids::release): Fix typo.
authorcgf <cgf>
Thu, 22 Dec 2005 05:11:43 +0000 (05:11 +0000)
committercgf <cgf>
Thu, 22 Dec 2005 05:11:43 +0000 (05:11 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/pinfo.cc

index 0411315..db04ffe 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-22  Christopher Faylor  <cgf@timesys.com>
+
+       * pinfo.cc (winpids::release): Fix typo.
+
 2005-12-21  Christopher Faylor  <cgf@timesys.com>
 
        * pinfo.cc (pinfo::init): Clarify comment slightly.
index bc98ed1..7851dda 100644 (file)
@@ -1313,11 +1313,11 @@ winpids::release ()
   for (unsigned i = 0; i < npids; i++)
     if (pinfolist[i] == (_pinfo *) myself)
       continue;
-    else if (pinfolist[i].hProc)
+    else if (pinfolist[i].hProcess)
       {
        if (pinfolist[i])
          pinfolist[i].release ();
-       CloseHandle (pinfolist[i].hProc);
+       CloseHandle (pinfolist[i].hProcess);
       }
     else if ((p = pinfolist[i]))
       {