From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7ae711c481a7059 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-08 12:52:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-05!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Can I treat Current_Output as a file of bytes? Date: Fri, 8 Nov 2002 14:32:45 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <20021104233454.2042ef78.bjorn_persson.spam-is-evil@sverige.nu> <4519e058.0211050630.7eb31354@posting.google.com> <20021105170130.2684e53f.bjorn_persson.spam-is-evil@sverige.nu> <4519e058.0211051427.48557033@posting.google.com> <4519e058.0211062004.4a55ab0e@posting.google.com> <20021108010337.395c1a90.bjorn_persson.spam-is-evil@sverige.nu> <4519e058.0211080710.72fa0289@posting.google.com> X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:30609 Date: 2002-11-08T14:32:45-06:00 List-Id: Ted Dennison wrote in message <4519e058.0211080710.72fa0289@posting.google.com>... >Actually, I do think so. It is quite possible to create "text files" >in an editor that don't have a line terminator on the last line. I've >had problems in the past with Ada Text_IO ignoring such lines, causing >an important line in a configuration file to be ignored. I can >understand the arcania behind the rule, and tell myself to make sure I >put a line terminator on the last line whenever I'm editing. However, >users who aren't Ada developers just don't understand, and (probably >rightly) consider it a bug. That's not a problem with the design of Text_IO, but rather with the implementation of Text_IO. That certainly doesn't happen in Janus/Ada's Text_IO. Randy.