This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Clear new space in fseek extended patches
- To: nickc at redhat dot com
- Subject: Re: Clear new space in fseek extended patches
- From: DJ Delorie <dj at delorie dot com>
- Date: Wed, 30 Aug 2000 21:38:53 -0400
- CC: binutils at sources dot redhat dot com, fnf at ninemoons dot com
- References: <200008310125.SAA26272@elmo.cygnus.com>
> Err, I thought that fseeking past the end of a file physically
> extended it,
Nope. It isn't extended until written to.
> : You will also find a severe performance loss if you do
> : fseek/ftell/fseek on every fseek,
>
> Well it is only in the cases of OSes that do not support zeroing
> extended file spaces, which is not common...
DJGPP, Cygwin, MinGW, Interix, BeOS? Perhaps not as popular as other
platforms, but they still have large followings, and the performance
loss is *significant* on those OSs.