Ignore:
Timestamp:
Jul 19, 2008, 3:43:27 PM (11 years ago)
Author:
gb
Message:

Accept any plausible pseudohandle in the DarwinPPC32 version of
xFindSymbol.

Todo: drop nominal support for 10.3.x and always use dlsym() here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r10097 r10142  
    19741974  natural address = 0;
    19751975
    1976   if (handle == NULL) {
     1976  if ((handle == NULL) ||
     1977      (handle == (void *)-1) ||
     1978      (handle == (void *)-2)){
    19771979    if (NSIsSymbolNameDefined(name)) { /* Keep dyld_lookup from crashing */
    19781980      _dyld_lookup_and_bind(name, (void *) &address, (void*) NULL);
Note: See TracChangeset for help on using the changeset viewer.