delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/20/20:42:54

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: lseek past EOF doesn't append zeros under Windows 95
20 Jun 1998 20:42:54 -0700 :
Message-ID: <01BD9C8B.7D1AD6A0.cygnus.gnu-win32@sos>
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'David Fox'"
<fox AT cat DOT nyu DOT edu>
Cc: "beshers AT cs DOT columbia DOT edu" <beshers AT cs DOT columbia DOT edu>

David Fox wrote:
> The documentation for lseek states
> 
>        The lseek function allows the file offset to be set beyond
>        the  end  of the existing end-of-file of the file. If data
>        is later written at this point, subsequent  reads  of  the
>        data in the gap return bytes of zeros (until data is actu-
>        ally written into the gap).
> 
> but under Windows 95 the cygwin32 package does not behave this
> way.  The gap is filled with garbage.  One package that depends

It's a well-known bug of Windows 95. Cygwin doesn't care about gaps, it's the task of underlying OS. The problem doesn't exists on NT.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019