Skip to content
Tcl Source Code History Of Ticket 514392ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 514392ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 514392ffffffffffffffffffffffffffffffffff

  1. Ticket change [d44f3abbe0] (rid 123420) by jkbonfield on 2002-02-07 17:46:53:

    1. assignee initialized to: "das"
    2. cmimetype initialized to: "text/plain"
    3. 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. 
      )
      
      
    4. foundin initialized to: "obsolete: 8.4a4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jkbonfield"
    9. subsystem initialized to: "68. Mac Classic (obsolete)"
    10. title initialized to: "load failures exit tclsh/wish"
    11. type initialized to: "Bug"
  2. Ticket change [180a7f8e5e] (rid 122602) by das on 2002-02-25 22:22:37:

    1. 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
      
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  3. Ticket change [14ede02b2f] (rid 124475) by das on 2002-02-25 22:24:19:

    1. status changed to: "Closed"
  4. Ticket change [ee799141f7] (rid 104088) by das on 2002-02-25 22:24:20:

    1. closedate changed to: "2002-02-25T15:24:20"
    2. closer changed to: "das"
    3. icomment:
      Logged In: YES 
      user_id=90580
      
      
      
      
      
    4. login: "das"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. username: "das"