Artifacts Associated With Ticket 514392ffffffffff
Ticket change [d44f3abbe0] (rid 123420) by jkbonfield on 2002-02-07 17:46:53:
- assignee initialized to: "das"
- cmimetype initialized to: "text/plain"
- comment initialized to:
"load blah" where blah does not exist causes wish (using the native MacOS X build from Jim Ingham) to exit. load libblah.dylib where libblah.dylib does exist in DYLD_LIBRARY_PATH, but is not in the current directory, also fails in the same manner. Hence the user has to know the exact location of the library. The tclLoadDyld.c file contains a function named TclpLoadFile. This calls: dyld_return = NSAddLibrary(native); This function never returns - it simply exits the process. (I wonder why they bothered to put a return value on it!) Solutions: tricky.... it's possible to fork, load and send a message back to the parent. The parent can then use this to decide whether to attempt a load. This only solves one part. We'd still need to try searching for the library in all components of DYLD_LIBRARY_PATH. (I thought that the nicely named NSAddLibraryWithSearching sounded useful, but it doesn't seem to make any difference. ) - foundin initialized to: "obsolete: 8.4a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jkbonfield"
- subsystem initialized to: "68. Mac Classic (obsolete)"
- title initialized to: "load failures exit tclsh/wish"
- type initialized to: "Bug"
Ticket change [180a7f8e5e] (rid 122602) by das on 2002-02-25 22:22:37:
- icomment:
Logged In: YES user_id=90580 an updated version of tclLoadDyld.c using the 10.1 dyld APIs is now checked into the HEAD, core-8-3-1-branch and macosx-8- 4-branch. [load] now gives an error message when a file can't be found/ loaded and also searches DYLD_LIBRARY_PATH
- login: "das"
- mimetype: "text/plain"
- username: "das"
- icomment:
Ticket change [14ede02b2f] (rid 124475) by das on 2002-02-25 22:24:19:
- status changed to: "Closed"
Ticket change [ee799141f7] (rid 104088) by das on 2002-02-25 22:24:20:
- closedate changed to: "2002-02-25T15:24:20"
- closer changed to: "das"
- icomment:
Logged In: YES user_id=90580
- login: "das"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "das"