Discussion:
SetFilePointerEx take 2
Rob Crittenden
2006-06-30 15:33:16 UTC
Permalink
I reimplemented SetFilePointerEx() so it makes the wineserver call
instead of SetFilePointer(). Now SFP calls SFPE.

In my first patch I forgot to update include/winbase.h with a
declaration of SFPE. That is added in this patch.

The source of the test program I used is at
http://www.greyoak.com/winex/setfile.cpp. I updated it to inclulde a
couple of odd cases and also test SFP directly.

I tested this with a 2.7GB file, so large numbers work ok.

rob

Loading...