This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/6] Propagate errors out of io_stream::copy()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]