summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-08 13:28:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-08 13:28:06 (GMT)
commitce11fef50dff5048c2dfa81c6639fbb6a65b51e0 (patch)
treee98a894ddce06416177582863563bdfd99a39e79 /doc
parent7ca3af3ebfc7d24e2f628a1fc5b2058c2d9410c2 (diff)
parent98040fe8bcb5786e0e2743bc32dc10b576f86f93 (diff)
downloadtcl-ce11fef50dff5048c2dfa81c6639fbb6a65b51e0.zip
tcl-ce11fef50dff5048c2dfa81c6639fbb6a65b51e0.tar.gz
tcl-ce11fef50dff5048c2dfa81c6639fbb6a65b51e0.tar.bz2
Merge trunk.
Eliminate all usage of internal macros: TclNewIntObj, TclNewBooleanObj, TclSetIntObj, TclSetBooleanObj. Change various function to macros: Tcl_NewIntObj, Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj, Tcl_SetBooleanObj, Tcl_AddErrorInfo, Tcl_AddObjErrorInfo.
Diffstat (limited to 'doc')
-rw-r--r--doc/try.n2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/try.n b/doc/try.n
index 393fe5b..78a006d 100644
--- a/doc/try.n
+++ b/doc/try.n
@@ -87,7 +87,7 @@ Handle different reasons for a file to not be openable for reading:
.PP
.CS
\fBtry\fR {
- set f [open /some/file/name]
+ set f [open /some/file/name w]
} \fBtrap\fR {POSIX EISDIR} {} {
puts "failed to open /some/file/name: it's a directory"
} \fBtrap\fR {POSIX ENOENT} {} {