Re: [xml] xmlModulePlatformSymbol() doesn't work on HP-UX



On Thu, Oct 27, 2005 at 11:34:43PM -0500, Albert Chin wrote:
HP-UX uses shl_load() and, if the correct patch is installed,
dlopen(). xmlModulePlatformSymbol doesn't work because shl_findsym
wants a pointer to the handle. Patch below.

  Okay, applied, I hope this works now !

BTW, why the "errno = 0"? AFAIK, It's not needed.

  Can't remember that was code contributed. But the link given in reference
    http://docs.hp.com/en/B2355-90683/shl_load.3X.html
has the following in the DIAGNOSTIC section:

"If shl_findsym() cannot find the indicated symbol, errno is set to zero."

I have no idea why and if it's also  a criteria...

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]