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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5899ce5693d939c1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed01.chello.at!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 25 Apr 2008 13:09:47 +0200 From: Georg Bauhaus Reply-To: rm.tsho+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Autoflush References: <4811b77c$1@news.broadpark.no> In-Reply-To: <4811b77c$1@news.broadpark.no> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4811bbfb$0$7537$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 25 Apr 2008 13:09:47 CEST NNTP-Posting-Host: abee74c9.newsspool1.arcor-online.net X-Trace: DXC=e:Ca:e@kSjm>jlK2>IgHGdic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbIFejVhMQciViOjT1`cWUCPM24OQk X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:21086 Date: 2008-04-25T13:09:47+02:00 List-Id: news.broadpark.no wrote: > I'm using text_io.Create( some_file... ) to write to a Windows pipe. It > works fine. Are there any Autoflush flags that I can use? I know I can > use text_io.Flush, however, I have som hundred thousand lines of legacy > code that I do not want to change... Just a thought, unless all text_io calls are fully qualified in the legacy code, you could provide overloaded subprograms. They have the same names as Text_IO.* but perform the flushing you like. Another dirty trick might be to inject flushing in the Ada library, if possible...