Skip to content

Commit

Permalink
Fix [5507a9c096]: Small error on https://www.tcl.tk/man/tcl/TclCmd/tr…
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Dec 18, 2021
1 parent c65c7c0 commit a128b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/try.n
Original file line number Diff line number Diff line change
Expand Up @@ -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 w]
set f [open /some/file/name r]
} \fBtrap\fR {POSIX EISDIR} {} {
puts "failed to open /some/file/name: it's a directory"
} \fBtrap\fR {POSIX ENOENT} {} {
Expand Down

0 comments on commit a128b4d

Please sign in to comment.