SetEndOfFile fix

Guy L. Albertelli galberte at neo.lrun.com
Tue Jan 29 21:21:13 CST 2002


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






More information about the wine-devel mailing list