http://bugs.winehq.org/show_bug.cgi?id=2826
------- Additional Comments From hans@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?