Artifacts Associated With Ticket 3603804fffffffff
Ticket change [094fe8242a] (rid 89697) by uring on 2013-02-08 08:51:15:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
the documentation of the try command contains the following example: try { set f [open /some/file/name] } trap {POSIX EISDIR} {} { puts "failed to open /some/file/name: it's a directory" } trap {POSIX ENOENT} {} { puts "failed to open /some/file/name: it doesn't exist" } this (slightly) misleading, since (on unix) it is allowed to open a directory for reading, i.e. you will never get the message "failed to open /some/file/name: it's a directory". a simple fix would be to open for writing: "try { set f [open /some/file/name w] ......" - foundin initialized to: "current: 8.6.0"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "uring"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "misleading example in documentation of [try]"
- type initialized to: "Bug"
Ticket change [3b5dc03d67] (rid 112731) by dkf on 2013-02-08 16:24:54:
- closedate changed to: "2013-02-08T09:24:54"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 Fair enough; fixed on trunk.
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"