Small fix for GetCurrentDirectoryA()

Felix Nawothnig felix.nawothnig at
Fri Jun 10 04:26:30 CDT 2005

>> (IsBadWritePtr isn't the fastest thing in the world...)

Just looked at the implementation -  it does at most 
(buflen-1)/pagesize+1 memory-references, and since buflen will be 
MAX_PATH in most cases this just costs us the calling-overhead - which 
is worth the increased readability.


More information about the wine-devel mailing list