comp.lang.ada
 help / color / mirror / Atom feed
* TASKS and DIRECT_IO, weird data errors
@ 2001-01-29 22:28 squeaker
  2001-01-30  6:21 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: squeaker @ 2001-01-29 22:28 UTC (permalink / raw)


i am really at a loss, to why when i copy from one file to another a
character at a time using direct_io i end up getting aload of rubbish in the
file when i load it up in edit, or notepad???, sections of the actual code
appear, or info about the task

thanks to anyone who can help







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

* Re: TASKS and DIRECT_IO, weird data errors
  2001-01-29 22:28 TASKS and DIRECT_IO, weird data errors squeaker
@ 2001-01-30  6:21 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 2001-01-30  6:21 UTC (permalink / raw)


In article
<P8md6.6882$cD2.229397@news2-win.server.ntlworld.com>,
  "squeaker" <squeaker@ntlworld.com> wrote:
> i am really at a loss, to why when i copy from one file to
another a
> character at a time using direct_io i

There is absolutely NO reason to think that Direct_IO can
be used to create a literal copy of a file, and furthermore
it is an appallingly inefficient way of doing things (see
the recent thread on this subject - it has optimization in
the subject line).


Sent via Deja.com
http://www.deja.com/



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

end of thread, other threads:[~2001-01-30  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-29 22:28 TASKS and DIRECT_IO, weird data errors squeaker
2001-01-30  6:21 ` Robert Dewar

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