[Bug 2826] _chsize implementation in msvcrt prevented by self-reference

Wine Bugs wine-bugs at winehq.org
Sat Mar 26 16:41:48 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=2826





------- Additional Comments From hans at it.vu.nl  2005-26-03 16:41 -------
I did an implementation of _chsize (see attachment) using win32 
primitives because that's how msvcrt is implemented in Wine. So 
we can't use ftruncate straight away like you suggested although 
in the end that API is called to truncate a file. This happens 
in Wine's ntdll where win32 primitives are implemented on top of 
Unix APIs. 
 
Can you test this patch and report back? 
 

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list