X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fforeign-load.lisp;h=de6bbd4e05df235d72512f958a184d8b5eb9c479;hb=54da325f13fb41669869aea688ae195426c0e231;hp=185d95849f6f3220414124350dc7e74acf327620;hpb=378a5e39c182b5c3ba14da80c157ad2c0021b25f;p=sbcl.git diff --git a/src/code/foreign-load.lisp b/src/code/foreign-load.lisp index 185d958..de6bbd4 100644 --- a/src/code/foreign-load.lisp +++ b/src/code/foreign-load.lisp @@ -39,17 +39,17 @@ container specified by designated PATHNAME, such as a .so on an ELF platform. Locating the shared object follows standard rules of the platform, consult the -manual page for dlopen(3) for details. Typically paths speficied by +manual page for dlopen(3) for details. Typically paths specified by environment variables such as LD_LIBRARY_PATH are searched if the PATHNAME has no directory, but on some systems (eg. Mac OS X) search may happen even if PATHNAME is absolute. (On Windows LoadLibrary is used instead of dlopen(3).) -On non-Windows platoforms calling LOAD-SHARED-OBJECT again with an PATHNAME +On non-Windows platforms calling LOAD-SHARED-OBJECT again with a PATHNAME EQUAL to the designated pathname of a previous call will replace the old -definitions; if a symbol was previously referenced thru the object and is not -present in the reloaded version an error will be signalled. Reloading may not -work as expected if user or library-code has called dlopen(3) on the same -shared object. +definitions; if a symbol was previously referenced through the object and +is not present in the reloaded version an error will be signalled. Reloading +may not work as expected if user or library-code has called dlopen(3) on the +same shared object. LOAD-SHARED-OBJECT interacts with SB-EXT:SAVE-LISP-AND-DIE: