apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: NSLinkEditErrorHandlers....
Date Tue, 16 Apr 2002 18:32:36 GMT
"Kevin Pilch-Bisson" <kevin@pilch-bisson.net> wrote:

> On Sat, Apr 13, 2002 at 09:07:46AM -0700, Justin Erenkrantz wrote:
>> On Sat, Apr 13, 2002 at 05:03:11PM +0100, Pier Fumagalli wrote:
>>> On Darwin, if there's a link error (in APR-dso, if something goes wrong),
>>> the program will exit without giving a chance to the caller to do anything:
>>> #man NSModule
>>> [...]
>>>        If the user does not supply these functions,  the  default
>>>        will  be to write an error message on to file descriptor 2
>>>        (usually stderr) and exit  the  program  (except  for  the
>>>        linkEdit   error  handler  when  the  NSLinkEditErrors  is
>>>        NSLinkEditWarningError, then the default is  to  do  noth-
>>>        ing).
>>> [...]
>>> "these functions" refer to a set of NSLinkEditErrorHandlers which should be
>>> installed to alter the default behavior... Do you think it would be wise to
>>> go ahead and install them?
>> Is there anything we can do other than exit?  -- justin
> Well some code, like svn's plugin system, wants to attemp to load a dso to see
> if it is there.  If it's not, that's fine, it just means that a certain method
> of accessing the repository is unavailable.  Thus, failure to be able to loead
> a dso shouldn't be a fatal error IMO.

Agreed... I can try to get around with a patch once the madness of daytime
work is over this week...


View raw message