diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/try.n | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} {} { |