Fix typo in error-handling case that we rarely hit, r=trivial
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 26 Jan 2010 17:46:47 -0500
changeset 46591 74b341abaf3516d80beeb3e16b8d53a320b7923d
parent 46590 e24f926aeb19436c29fb1bd54fe86a6eb8318290
child 46592 e033fa1d3b0bc04aaa37708b6d48eb8b0aeb4fb5
push idunknown
push userunknown
push dateunknown
reviewerstrivial
milestone1.9.3a1pre
Fix typo in error-handling case that we rarely hit, r=trivial
build/automation.py.in
--- a/build/automation.py.in
+++ b/build/automation.py.in
@@ -503,17 +503,17 @@ user_pref("camino.use_system_proxy_setti
       return ('', True)
 
     def isPidAlive(self, pid):
       STILL_ACTIVE = 259
       PROCESS_QUERY_LIMITED_INFORMATION = 0x1000
       pHandle = self.ctypes.windll.kernel32.OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, 0, pid)
       if not pHandle:
         return False
-      pExitCode = self.wintypes.DWORD()
+      pExitCode = ctypes.wintypes.DWORD()
       self.ctypes.windll.kernel32.GetExitCodeProcess(pHandle, self.ctypes.byref(pExitCode))
       self.ctypes.windll.kernel32.CloseHandle(pHandle)
       if (pExitCode.value == STILL_ACTIVE):
         return True
       else:
         return False
 
     def killPid(self, pid):