ruby-changes:17605
From: usa <ko1@a...>
Date: Wed, 27 Oct 2010 18:15:09 +0900 (JST)
Subject: [ruby-changes:17605] Ruby:r29610 (trunk): * win32/win32.c (rb_w32_getppid): support Win64.
usa 2010-10-27 18:15:02 +0900 (Wed, 27 Oct 2010) New Revision: 29610 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29610 Log: * win32/win32.c (rb_w32_getppid): support Win64. Modified files: trunk/ChangeLog trunk/win32/win32.c Index: ChangeLog =================================================================== --- ChangeLog (revision 29609) +++ ChangeLog (revision 29610) @@ -1,3 +1,7 @@ +Wed Oct 27 18:14:27 2010 NAKAMURA Usaku <usa@r...> + + * win32/win32.c (rb_w32_getppid): support Win64. + Wed Oct 27 15:07:19 2010 NAKAMURA Usaku <usa@r...> * thread_win32.c (w32_error): should get error no only once, because Index: win32/win32.c =================================================================== --- win32/win32.c (revision 29609) +++ win32/win32.c (revision 29610) @@ -4711,10 +4711,10 @@ struct { long ExitStatus; void* PebBaseAddress; - ULONG AffinityMask; - ULONG BasePriority; - ULONG UniqueProcessId; - ULONG ParentProcessId; + uintptr_t AffinityMask; + uintptr_t BasePriority; + uintptr_t UniqueProcessId; + uintptr_t ParentProcessId; } pbi; ULONG len; long ret = pNtQueryInformationProcess(GetCurrentProcess(), 0, &pbi, sizeof(pbi), &len); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/