Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 81884 invoked by uid 500); 4 Jun 2003 23:34:48 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 81852 invoked from network); 4 Jun 2003 23:34:47 -0000 Date: Wed, 4 Jun 2003 20:42:33 +0100 From: Joe Orton To: "'dev@apr.apache.org'" Subject: Re: [PATCH] Be verbose during shl_load on HP-UX Message-ID: <20030604194233.GA14987@manyfish.co.uk> Mail-Followup-To: "'dev@apr.apache.org'" References: <1FE4AC40A0D4DA47B9E84CE8F266CB7F182054@xsun04.ptp.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1FE4AC40A0D4DA47B9E84CE8F266CB7F182054@xsun04.ptp.hp.com> User-Agent: Mutt/1.4.1i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, May 30, 2003 at 01:54:21PM -0400, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: ... > Now, what should be the behaviour under the following scenarios : > > - everything is fine : program runs fine. No problems. > - Unresolved symbols and stderr is open : program will report the > unresolved symbols on stderr > - Unresolved symbols and stderr is closed : program will exit with a -1, > with the error "Bad file number". > > Question : Are you telling me that you don't like to see "Bad file number" > as the error message ? Yup, I don't like that. If you hadn't passed BIND_VERBOSE, the error message would have been the correct "Unresolved symbols" string. Yes, I agree it is a shame that not using BIND_VERBOSE loses the more descriptive error information, but as has been covered several times, using BIND_VERBOSE is not the correct default for APR. > If that is the case, can we can put a specific case for HPUX, for > 1. when BIND_VERBOSE is enabled, and > 2. stderr is closed, and > 3. you get this message, > we can print a particular error message (because we know whatz happening).. I don't really understand these questions. 1. there is no "when BIND_VERBOSE is enabled" case, APR does not use this flag 2. how do you tell reliably whether stderr is closed? 3. how do you find out the real error message? Regards, joe