From: DJ Delorie <dj@delorie.com>
Subject: Re: lseek past EOF doesn't append zeros under Windows 95
11 Jul 1998 13:48:20 -0400
Message-ID: <35A7A564.167E@delorie.com>
References: <199807081923.PAA05296@dejavu.spd.analog.com> <199807102242.SAA14740.cygnus.gnu-win32@dejavu.spd.analog.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22)

Vince Del Vecchio wrote:
> Could someone also briefly describe what the semantics will be in the
> next DLL?

The new version will only flag the file when you call lseek().  If you
then call write(), it will know that it followed an lseek(), and
will test to see if the current file pointer is beyond eof.  If
so, it seeks back to eof and writes out zeros to fill the gap.
