Mladen Turk wrote:
> 
> What 99% users would need is apr_file_attach_std* set of functions
> giving the apr_file_t capable API without destroying the system
> std streams.
> 
> And we should probably protect the sigleton apr_file_open_std*
> against multiple invocations, cause the always acts upon a
> singleton std stream object.

We already have it.

Simply don't call close() :)

Just check if apr is registering closure of these streams and perhaps ensure
they are not closed at all if they are not overridden, certainly by apr 2.0.

Reply via email to