www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/21/11:58:48

From: fox AT cat DOT nyu DOT edu (David Fox)
Subject: Re: lseek past EOF doesn't append zeros under Windows 95
21 Jun 1998 11:58:48 -0700 :
Message-ID: <y5awwabkl2w.fsf.cygnus.gnu-win32@dsf.net>
References: <6wFg4SiKpfB AT mike DOT franken DOT de>
To: gnu-win32 AT cygnus DOT com

mh AT mike DOT franken DOT de (Michael Hirmke) writes:

> Hi David,
> 
> [...]
> >but under Windows 95 the cygwin32 package does not behave this
> >way.  The gap is filled with garbage.  One package that depends
> >on the zeroing behavior is db-1.86.  Here is a test program:
> 
> This is a well known misbehaviour of Windows 95.
> AFAIK there is nothing at the moment, you can do about it.

It is not a misbehavior of Windows 95; Windows 95 makes no promises
about the contents of a file when you seek past its end.  Even if it
did, it is also a misbehavior of Cygwin to fail to account for the
actual behavior of Windows 95.  And there is something to do about it,
I posted the basis of a fix in another message.
-- 
David Fox	   http://www.cat.nyu.edu/fox		xoF divaD
NYU Media Research Lab   fox AT cat DOT nyu DOT edu   baL hcraeseR aideM UYN
-
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