summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-05-16 08:38:04 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-05-16 08:38:04 (GMT)
commit4eac6e3395dabb5ccf792dacf813ef5553be19c4 (patch)
treeb793cf840eba397ecf39a42919db61fe22e1035e
parent6f5688e2f38a064da6f596cbb7bc5012d3220d31 (diff)
downloadtcl-4eac6e3395dabb5ccf792dacf813ef5553be19c4.zip
tcl-4eac6e3395dabb5ccf792dacf813ef5553be19c4.tar.gz
tcl-4eac6e3395dabb5ccf792dacf813ef5553be19c4.tar.bz2
Fixed minor mistake in the example (not following best-practice as
described in the Portability section)
-rw-r--r--doc/load.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/load.n b/doc/load.n
index 9e5eeeb..c1fc3e9 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.14 2005/05/10 18:34:00 kennykb Exp $
+'\" RCS: @(#) $Id: load.n,v 1.15 2005/05/16 08:38:04 dkf Exp $
'\"
.so man.macros
.TH load n 7.5 Tcl "Tcl Built-In Commands"
@@ -155,7 +155,7 @@ it can then be loaded into Tcl with the following:
# Load the extension
switch $tcl_platform(platform) {
windows {
- \fBload\fR ./foo.dll
+ \fBload\fR [file join [pwd] foo.dll]
}
unix {
\fBload\fR ./libfoo[info sharedlibextension]