ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/05/08/17:04:36

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
To: Zack Weinberg <zack AT codesourcery DOT com>
Cc: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, pavenis AT latnet DOT lv,
nickc AT cambridge DOT redhat DOT com, djgpp-workers AT delorie DOT com,
gcc-patches AT gcc DOT gnu DOT org
From: kelley DOT r DOT cook AT gm DOT com
Date: Wed, 8 May 2002 17:04:10 -0400
Message-ID: <OFAB055ED9.FE3976AB-ON85256BB3.0072EAA8@mail.gm.com>
X-MIMETrack: Serialize by Router on USABHMG02/G/GMSERVER/GMC(Release 5.0.9a |January 7, 2002) at
05/08/2002 05:04:10 PM
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

>> There's no relation between ^Z and newlines whatsoever.  Old DOS
>> editors could put a ^Z anywhere, including several ^Zs one after
>> another.
>Do they ever insert a ^Z in the middle of a file in order to truncate
>it, and not bother to update the filesystem's idea of the file size?
>(This is the only way I can think of that there would be a ^Z with a
>bunch of text after it, when the file is transferred to a system that
>ignores ^Z.)

I used to possess an old editor that would always round the filesize
up to 512 bytes with complete garbage after the ^Z (usually the tail
end of a directory entry sector).  I'm thinking it was the one
included with the original Turbo Pascal, but I could be mistaken
on that front.

Kelley Cook

- Raw text -

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