summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2015-09-30 08:29:57 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2015-09-30 08:29:57 (GMT)
commitcb3df60adfa7a0890d7e7c079cef66d5b8a14607 (patch)
tree69eabc743ba1e7f42a295a7ae456f4e9df4d0333
parent5f772d464fc0ff1b6a3b4ea57496ace611067d16 (diff)
parentf7aa4f989380e9cbbd9515737ae3b6b1cebf5af5 (diff)
downloadtcl-cb3df60adfa7a0890d7e7c079cef66d5b8a14607.zip
tcl-cb3df60adfa7a0890d7e7c079cef66d5b8a14607.tar.gz
tcl-cb3df60adfa7a0890d7e7c079cef66d5b8a14607.tar.bz2
Fix [b1f19286f0]: for command documentation.
Minor addendum to previous commit: Make OS version number available in ::platform::generic for Cygwin
-rw-r--r--doc/for.n4
-rw-r--r--library/platform/platform.tcl1
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/for.n b/doc/for.n
index 40c7cab..9a3235f 100644
--- a/doc/for.n
+++ b/doc/for.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.
-'\"
+'\"
.TH for n "" Tcl "Tcl Built-In Commands"
.so man.macros
.BS
@@ -49,7 +49,7 @@ each loop iteration), so changes in the variables will be visible.
See below for an example:
.SH EXAMPLES
.PP
-Print a line for each of the integers from 0 to 10:
+Print a line for each of the integers from 0 to 9:
.PP
.CS
\fBfor\fR {set x 0} {$x<10} {incr x} {
diff --git a/library/platform/platform.tcl b/library/platform/platform.tcl
index 9a21a25..8dd91ee 100644
--- a/library/platform/platform.tcl
+++ b/library/platform/platform.tcl
@@ -104,6 +104,7 @@ proc ::platform::generic {} {
# Do not check wordSize, win32-x64 is an IL32P64 platform.
set cpu x86_64
}
+ append plat -$tcl_platform(osVersion)
}
sunos {
set plat solaris