Tcl Source Code

View Ticket
Login
Ticket UUID: 415273
Title: missing package breaks [package forget]
Type: Bug Version: obsolete: 8.3.3
Submitter: dgp Created on: 2001-04-10 23:36:04
Subsystem: 39. Package Manager Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-08-07 02:19:42
Resolution: Fixed Closed By: dgp
    Closed on: 2001-08-06 19:19:42
Description:
% package ifneeded foo 1.0 grok 
% package forget notthere foo
% package ifneeded foo 1.0
grok

The docs for [package forget] say nothing about a
missing package silently terminating the "forgetting"
operation, but that's what happens.

Sigh.  I still think the better way to handle this
was to force [package forget] to accept exactly one
package name as an argument  (Bug 218410).
User Comments: dgp added on 2001-08-07 02:19:42:
Logged In: YES 
user_id=80530

Committed for release in 8.4a3.

dgp added on 2001-08-07 01:49:33:

File Added - 9301: pkg.patch

Logged In: YES 
user_id=80530

Here's a patch that corrects the behavior
to agree with the existing docs.

Attachments: