Skip to content
Tcl Source Code Artifact [74e36d9d0c]
Login

Artifact [74e36d9d0c]

Artifact 74e36d9d0cfd9f9869da3503f7b8d87d51a9fb4b:

Ticket change [74e36d9d0c] - Ticket [219140ffffffffff|219140ffff] <i>patch for dynamic linking /HPUX / TCL8.0.3</i> status still Open with 4 other changes by kennykb on 2001-02-16 04:30:15.
D 2001-02-16T04:30:15
J icomment I\squestion\swhether\sthis\spatch\sgoes\squite\sfar\senough.\n\nAssume\sfor\sthe\ssake\sof\sargument\sthat\sthe\suser\sdoes\s"load\sfoo.sl".\n\nWe\scertainly\swant\sto\sadd\sDYNAMIC_PATH\sto\sthe\sflags\sso\sthat\sthe\sSHLIB_PATH\sis\sused\sto\ssearch\sfor\slibraries\sthat\sare\sreferenced\sfrom\swithin\s"foo.sl".\s\sThat's\swhat\sthe\spatch\sdoes\s(once\swe\smerge\sthe\schanges\sso\sthat\sthe\sflags\sare\sBIND_DEFERRED\s|\sBIND_VERBOSE\s|\sDYNAMIC_PATH).\n\nBut\sdo\swe\sreally\swant\sto\ssearch\sthe\sSHLIB_PATH\sfor\sthe\soriginal\s"foo.sl"\s?\s\sThe\sdocumentation\sof\sthe\s"load"\scommand\ssays\sthat\sit\saccepts\sa\sfilename,\sand\sthe\s"filename"\sman\spage\sis\spretty\sclear\sabout\swhat\sTcl's\sconventions\sare\sfor\sfilenames.\s\sI'd\sthink\sthat\srather\sthan\ssearching\sSHLIB_PATH,\sthe\sinitial\sload\sshould\sgo\sonly\safter\sthe\sworking\sdirectory\sif\sthe\spath\sname\sis\srelative.\s\sWe\scould\sachieve\sthis\sby\sprepending\sthe\sworking\sdirectory\sname\sto\sany\srelative\spath\sthat\sgets\spassed\sto\sTclpLoadFile\sbefore\shanding\sit\soff\sto\sshl_load.\n\nOtherwise,\sI\sthink\sit's\spractically\scertain\sthat\ssomewhere\sdown\sthe\sroad,\ssome\suser\swill\sdo\s"load\sfoo.sl"\swith\sa\s"foo.sl"\sin\sthe\sworking\sdirectory,\sbut\sa\sSHLIB_PATH\sthat\sdoesn't\scontain\s'.',\sand\ssubmit\sa\sbug\sthat\sit\sdidn't\sload\sor\sloaded\sthe\swrong\sversion.\n\nAny\scomments\sfrom\sthe\sHPUX\susers?\n
J login kennykb
J mimetype text/plain
J username kennykb
K 219140ffffffffffffffffffffffffffffffffff
U kennykb
Z cf102f23ff58f6f5970bac1d2a21e84f