apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <mad...@hp.com>
Subject RE: [PATCH] Be verbose during shl_load on HP-UX
Date Wed, 28 May 2003 23:17:22 GMT

>-----Original Message-----
>From: Garrett Rooney [mailto:rooneg@electricjellyfish.net]

>Be that as it may, it's not APR's place to start spewing random stuff 
>(however interesting to the programmer) to stderr. 


To begin with, let us not forget the fact that all applications have to be
developed by a programmer. If the programmer is not happy, so is the
application !! 

> APR is a general purpose library, and you have no idea what kind of
> application it is being used in. Perhaps it's not appropriate for
> there to be any output at all to the terminal?  Perhaps there is
> no terminal at all?  There's simply no way we can tell if it is or
> is not appropriate to send output to that file descriptor, so we
> must assume that we cannot.


I understand your point. In that case, the solution is to give a option
(pass a flag to apr_dso_load or something like that), but not to remove the
flag. 

A thought : what if, we use some library API that does not give the option
of disabling the verbose flag ? What's the solution - not use that API at
all ? I don't think so. 

-Madhu

Mime
View raw message