1*0Sstevel@tonic-gateNOTES 2*0Sstevel@tonic-gate----- 3*0Sstevel@tonic-gate 4*0Sstevel@tonic-gateI've checked out HPUX (well, version 11 at least) and shl_t is 5*0Sstevel@tonic-gatea pointer type so it's safe to use in the way it has been in 6*0Sstevel@tonic-gatedso_dl.c. On the other hand, HPUX11 support dlfcn too and 7*0Sstevel@tonic-gateaccording to their man page, prefer developers to move to that. 8*0Sstevel@tonic-gateI'll leave Richard's changes there as I guess dso_dl is needed 9*0Sstevel@tonic-gatefor HPUX10.20. 10*0Sstevel@tonic-gate 11*0Sstevel@tonic-gateThere is now a callback scheme in place where filename conversion can 12*0Sstevel@tonic-gate(a) be turned off altogether through the use of the 13*0Sstevel@tonic-gate DSO_FLAG_NO_NAME_TRANSLATION flag, 14*0Sstevel@tonic-gate(b) be handled by default using the default DSO_METHOD's converter 15*0Sstevel@tonic-gate(c) overriden per-DSO by setting the override callback 16*0Sstevel@tonic-gate(d) a mix of (b) and (c) - eg. implement an override callback that; 17*0Sstevel@tonic-gate (i) checks if we're win32 (if(strstr(dso->meth->name, "win32")....) 18*0Sstevel@tonic-gate and if so, convert "blah" into "blah32.dll" (the default is 19*0Sstevel@tonic-gate otherwise to make it "blah.dll"). 20*0Sstevel@tonic-gate (ii) default to the normal behaviour - we're not on win32, eg. 21*0Sstevel@tonic-gate finish with (return dso->meth->dso_name_converter(dso,NULL)). 22*0Sstevel@tonic-gate 23