[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r16891 - trunk/subversion/libsvn_subr

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-10-22 22:36:20 CEST

On Sat, 2005-10-22 at 22:20 +0200, Peter N. Lundblad wrote:
> It might be seen as such, although I think it is a bug that those error
> messages were just dropped on the floor. Do you object to the change, or
> do you just think it needs to be documented in the public docstring (the
> latter, I could agree with in afterthought:).

It seems wrong for a low-level, programmatic API to be interacting with
stderr.

An alternative--though a rather more complicated one--would be to open a
pipe (set FD_CLOEXEC in the child; dunno if you can do that with APR)
and marshal the error information through it back to the parent, where
it could be returned to the caller programmatically.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 22 22:38:10 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.