----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
> Rein Klazes <[EMAIL PROTECTED]>
> Guy Albertelli <[EMAIL PROTECTED]>
> 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




Reply via email to