Skip to content
Tcl Source Code History Of Ticket 3603804
Login

History Of Ticket 3603804

Artifacts Associated With Ticket 3603804

  1. Ticket change [094fe8242a] (rid 89697) by uring on 2013-02-08 08:51:15:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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] ......" 
      
    4. foundin initialized to: "current: 8.6.0"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "uring"
    10. subsystem initialized to: "18. Commands M-Z"
    11. title initialized to: "misleading example in documentation of [try]"
    12. type initialized to: "Bug"
  2. Ticket change [3b5dc03d67] (rid 112731) by dkf on 2013-02-08 16:24:54:

    1. closedate changed to: "2013-02-08T09:24:54"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      Fair enough; fixed on trunk.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. priority changed to: "3 Low"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"