----- Original Message ----- From: <lawson_whitney(a)juno.com> To: <rklazes(a)xs4all.nl>; <galberte(a)neo.lrun.com> Cc: <wine-patches(a)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(a)juno.com> Rein Klazes <rklazes(a)xs4all.nl> Guy Albertelli <galberte(a)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
participants (1)
-
Guy L. Albertelli