Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 75d8d4c5119251dc47c9d1cc0ae0cd63e6df86b4
Ticket: 1623466fffffffffffffffffffffffffffffffff
Wrong example in man package
User & Date: suchenwi on 2006-12-28 08:54:23
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    At the end of the package man page, the code example has the logic reversed:
    if {[catch {package require Snack}]} {
       # We have the package, configure the app to use it
    } else {
       # Set up a dummy interface to work around the absence
    }
    
    I suggest to put a "!" in front of [catch :)
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "suchenwi"
  10. subsystem changed to: "39. Package Manager"
  11. title changed to: "Wrong example in man package"
  12. type changed to: "Bug"