On Fri, Oct 28, 2005 at 04:34:18AM -0400, Daniel Veillard wrote: > 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, there are two calls to shl_findsym. They both need '&handle'. > > 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... We've removed 'errno = 0' in our local tree. -- albert chin ([EMAIL PROTECTED]) _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
