On 06/19/2011 08:15 PM, Austin Lund wrote:
[PATCH 2/4] server: Add function to count only valid handles in a process
This makes no sense. All handles are valid inside wineserver.
Vitaliy.
On 20 June 2011 15:12, Vitaliy Margolen wine-devel@kievinfo.com wrote:
On 06/19/2011 08:15 PM, Austin Lund wrote:
[PATCH 2/4] server: Add function to count only valid handles in a process
This makes no sense. All handles are valid inside wineserver.
When looking at bug 9484 and trying to implement this functionality, I thought that the next_process call would return the number of open handles in the process. This is currently incorrect. As it stands reply->handles is the size of the allocated handle table (which is currently a power of two times 32) which is information almost totally irrelevant to anyone wanting handle information using snapshots.
My patch changes this to count the number of open handles. Later patches I have use this functionality.
I've attached an amendment which just changes the name of the call.