From: Daniel A. S. <st...@ic...> - 2002-02-15 10:39:39
|
At 9:55 +0000 on 15/2/02, James Bonfield wrote: >Note that there also seems to be a bug in MacOS X where if "native" is a file >that does not exist then instead of returning a failure (as the docs state) >the process simply exits! Wonderful... AFAIK this is not a bug, just the default behaviour if no LinkEditErrorHandlers are installed. man 3 NSModule: If the dynamic shared library has not already been loaded it along with all the needed dependent libraries are loaded. With the options parameter NSADDIMAGE_OPTION_NONE then any error in loading will cause the linkEdit error handler set by NSInstallLinkEditErrorHandlers(3) to be called or the default action of printing the error and exiting to be taken. also see http://developer.apple.com/techpubs/macosx/ReleaseNotes/TwoLevelNamespaces.html probably we should rewrite tclLoadDyld.c using the 10.1 TwoLevelNamespaces API anyway. Cheers, Daniel -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |