summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-12 08:01:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-12 08:01:53 (GMT)
commitfcba3b601b7c21519844336ba2fea8e7b4963521 (patch)
treeac6c3ee23582c34724c833265d42b1064fe867c7
parent2354c488dc346e6d3a40ba3d8e05f4749dab8882 (diff)
parent5e8aae6bdccfc35abc06270dfe128c522e05cf2d (diff)
downloadtcl-fcba3b601b7c21519844336ba2fea8e7b4963521.zip
tcl-fcba3b601b7c21519844336ba2fea8e7b4963521.tar.gz
tcl-fcba3b601b7c21519844336ba2fea8e7b4963521.tar.bz2
merge trunk.
<p>doc fix
-rw-r--r--doc/load.n4
-rw-r--r--unix/tclLoadNext.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/load.n b/doc/load.n
index 7c2687e..350a2ae 100644
--- a/doc/load.n
+++ b/doc/load.n
@@ -13,9 +13,9 @@ load \- Load machine code and initialize new commands
.SH SYNOPSIS
\fBload\fR ?\fB\-global\fR? ?\fB\-lazy\fR? ?\fB\-\-\fR? \fIfileName\fR
.br
-\fBload ?\fB\-global\fR? ?\fB\-lazy\fR? ?\fB\-\-\fR? \fIfileName packageName\fR
+\fBload\fR ?\fB\-global\fR? ?\fB\-lazy\fR? ?\fB\-\-\fR? \fIfileName packageName\fR
.br
-\fBload ?\fB\-global\fR? ?\fB\-lazy\fR? ?\fB\-\-\fR? \fIfileName packageName interp\fR
+\fBload\fR ?\fB\-global\fR? ?\fB\-lazy\fR? ?\fB\-\-\fR? \fIfileName packageName interp\fR
.BE
.SH DESCRIPTION
.PP
diff --git a/unix/tclLoadNext.c b/unix/tclLoadNext.c
index 484b1d6..eb0affa 100644
--- a/unix/tclLoadNext.c
+++ b/unix/tclLoadNext.c
@@ -135,7 +135,7 @@ FindSymbol(
{
Tcl_PackageInitProc *proc = NULL;
- if (symbol) {
+ if (symbol) {
char sym[strlen(symbol) + 2];
sym[0] = '_';