On Apr 8 15:43, Jon TURNEY wrote: > Despite the comment here, io_stream::read() is now implemented to provide the > same behaviour as POSIX read(): If the stream is at EOF, 0 is returned. If an > error occurred, -1 is returned. So we can detect errors and propagate them to > our caller. > > 2011-04-08 Jon TURNEY <...> > > * io_stream.cc (copy): Propagate errors.
Shoot. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
