----- Original Message ----- From: lawson_whitney@juno.com To: rklazes@xs4all.nl; galberte@neo.lrun.com Cc: wine-patches@winehq.com Sent: Sunday, January 27, 2002 4:30 PM Subject: Re: SetEndOfFile fix
On Sun, 27 Jan 2002, Rein Klazes wrote:
You still need ftruncate in case the file has to shrink. To do that without ftruncate takes a lot more work then an lseek and a write.
Rein.
Right. I meant sort of like this. Unfortunately I haven't an app that does this, to be sure I have it right.
Changelog server : file.c Lawson Whitney lawson_whitney@juno.com Rein Klazes rklazes@xs4all.nl Guy Albertelli galberte@neo.lrun.com Do not rely on ftruncate to grow a file. It may refuse or fail to do so. (eg with vfat filesystem under Linux)
Outlook Express 5.0 is happy (relatively). Lets commit this.
Guy