|
2007-01-30
| ||
| 00:04 | • Closed ticket [1623466fff]: Wrong example in man package plus 7 other change... artifact: 3f1aba5a53 user: dgp | |
|
2006-12-29
| ||
| 06:24 | • Ticket [1623466fff]: 5 changes artifact: b527f7baa2 user: dkf | |
|
2006-12-28
| ||
| 08:54 | • New ticket [1623466fff]. artifact: 75d8d4c511 user: suchenwi | |
Wrong example in man package
Closed / Out of Date1623466fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-12-28 08:54:23
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 :)
dkfplain2006-12-29 06:24:52
Logged In: YES user_id=79902 Originator: NO Only fault in 8.4 branch.
dgpplain2007-01-30 00:04:47
Logged In: YES user_id=80530 Originator: NO This was fixed for 8.4.14 back in September.
Log in (anonymous is fine) to add a comment.