Re: file.c:246: Test failed: shouldn't be able to delete a readonly file

2006-03-23 Thread Bryan Mayland
Huw D M Davies wrote: How are you trying to delete them? The question is whether the DeleteFile() function works as tested - the way to find this is to run that test on Windows XP. DeleteFile on an read-only file under XP returns false. GetLastError returns 5 (Access denied)

Re: WaitForMultipleObjectsEx will not take up to MAXIMUM_WAIT_OBJECTS

2006-03-21 Thread Bryan Mayland
Dan Kegel wrote: Yes. Make the code as small and simple as possible to check that one limit. I've sent the patch to wine-patches as suggested at winehq. I'm not subscribed to that list though, so let me know if there are any problems receiving it or you don't like the test case. Th

Re: WaitForMultipleObjectsEx will not take up to MAXIMUM_WAIT_OBJECTS

2006-03-21 Thread Bryan Mayland
Dan Kegel wrote: Congratulations, sounds like you found a bug in Wine! Yay! I'm glad I'm not crazy. Looks like it should be changed. You've helped greatly with your post. You could help even more by posting a patch that modifies dlls/kernel/tests/sync.c to incorporate your test and also

WaitForMultipleObjectsEx will not take up to MAXIMUM_WAIT_OBJECTS

2006-03-21 Thread Bryan Mayland
I've been digging into why versions of uTorrent greater than 1.1.3 do not work under the latest wine and tracked it down to their use of WSAEventSelects to receive socket notifications. I created a small test application which mimics this behavior which works under WindowsXP but not wine. Th