X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rob Uiterlinden" Newsgroups: comp.os.msdos.djgpp References: <9003-Thu22Jul2004221332+0300-eliz AT gnu DOT org> <41003d3e$0$43451$e4fe514c AT news DOT xs4all DOT nl> <2914-Fri23Jul2004104314+0300-eliz AT gnu DOT org> <4100d309$0$42417$e4fe514c AT news DOT xs4all DOT nl> <2mc3asFlgbq5U2 AT uni-berlin DOT de> Subject: Re: make 3.79.1 problem with copy command (Windows XP) Date: Fri, 23 Jul 2004 12:44:48 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Lines: 24 Message-ID: <4100ec28$0$93324$e4fe514c@news.xs4all.nl> NNTP-Posting-Date: 23 Jul 2004 12:44:56 CEST NNTP-Posting-Host: 80.126.161.246 X-Trace: 1090579496 news.xs4all.nl 93324 [::ffff:80.126.161.246]:10130 X-Complaints-To: abuse AT xs4all DOT nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Hans-Bernhard Broeker" wrote in message news:2mc3asFlgbq5U2 AT uni-berlin DOT de... > [Please break down your lines somewhere before column 80. Fixed.] Consider it done... > Not the filesystem, but the data in the actual file can be corrupted > just as easily with this method as with the more usual one. > If you're just writing a rather long version, so you plough beyond > the previous version's Ctrl-Z, and power fails before you reach > the new Ctrl-Z position, you'll end up with a file with no Ctrl-Z > in it, and thus no way of knowing where it actually ends. Ah yes, I didn't mention it: the program that creates the file completely fills it with Ctrl-Z characters. So when the data ends, Ctrl-Z characters will follow. All to the end of the file. A character in the file is either data, or it is a Ctrl-Z. It is a bit cumbersome, but I think it is bullet-proof. Interesting discussion, but it is getting a bit off-topic now, I am afraid. -RoB-