comp.lang.ada
 help / color / mirror / Atom feed
* Autoflush
@ 2008-04-25 10:52 news.broadpark.no
  2008-04-25 11:09 ` Autoflush Georg Bauhaus
  0 siblings, 1 reply; 2+ messages in thread
From: news.broadpark.no @ 2008-04-25 10:52 UTC (permalink / raw)


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...

Eirik




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Autoflush
  2008-04-25 10:52 Autoflush news.broadpark.no
@ 2008-04-25 11:09 ` Georg Bauhaus
  0 siblings, 0 replies; 2+ messages in thread
From: Georg Bauhaus @ 2008-04-25 11:09 UTC (permalink / raw)


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...



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-25 11:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-25 10:52 Autoflush news.broadpark.no
2008-04-25 11:09 ` Autoflush Georg Bauhaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox