summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-12-04 06:15:26 (GMT)
committerhobbs <hobbs@noemail.net>1999-12-04 06:15:26 (GMT)
commit799ee9d205f8b3c2051b44f05f75141ff73abb2f (patch)
treea6fd2809b31c2799b9e5738b68f01cafb88c59c9 /doc
parent9f9df44360c17230c5702ed6146db41618360cb8 (diff)
downloadtcl-799ee9d205f8b3c2051b44f05f75141ff73abb2f.zip
tcl-799ee9d205f8b3c2051b44f05f75141ff73abb2f.tar.gz
tcl-799ee9d205f8b3c2051b44f05f75141ff73abb2f.tar.bz2
* doc/load.n: added note about NT's buggy handling of './' with
LoadLibrary FossilOrigin-Name: 4438057968ef12c5415a2a10af420ca64e7a37e6
Diffstat (limited to 'doc')
-rw-r--r--doc/load.n9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/load.n b/doc/load.n
index 9d3e1eb..e0deb20 100644
--- a/doc/load.n
+++ b/doc/load.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: load.n,v 1.2 1998/09/14 18:39:53 stanton Exp $
+'\" RCS: @(#) $Id: load.n,v 1.3 1999/12/04 06:15:26 hobbs Exp $
'\"
.so man.macros
.TH load n 7.5 Tcl "Tcl Built-In Commands"
@@ -112,6 +112,13 @@ If the same file is \fBload\fRed by different \fIfileName\fRs, it will
be loaded into the process's address space multiple times. The
behavior of this varies from system to system (some systems may
detect the redundant loads, others may not).
+.PP
+When loading a DLL in the current directory, NT will ignore ``./'' as
+a path specifier and use a search heuristic to find the DLL instead.
+To avoid this, load the DLL with
+.CS
+ load [file join [pwd] mylib.DLL]
+.CE
.SH "SEE ALSO"
\fBinfo sharedlibextension\fR, Tcl_StaticPackage, safe(n)