Overview
| Artifact ID: | c369a926eb30c9f21e6ec93773214349e57d8f81 |
|---|---|
| Ticket: | 218551ffffffffffffffffffffffffffffffffff
The cd command has incorrect error message |
| User & Date: | nobody on 2000-10-26 01:02:03 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1010 Bug Version: 8.0.4 SubmitDate: '1998-12-22' LastModified: '1998-12-22' Severity: LOW Status: Released Submitter: welch ChangedBy: rjohnson OS: Solaris Machine: Other FixedDate: '1998-12-22' FixedInVersion: 8.0.5 ClosedDate: '2000-10-25' Name: mo ReproducibleScript: The error message on the cd command should have ? marks around the dir argument. DesiredBehavior: when one types "cd one two" the command should return the first argument to the proc with question marks around it. (good) wrong # args: should be "cd ?dirName?" (bad) wrong # args: should be "cd dirName" Patch: *** tclCmdAH.c Mon Sep 14 13:39:57 1998 --- tmp Tue Dec 22 03:25:44 1998 *************** *** 306,312 **** int result; if (objc > 2) { ! Tcl_WrongNumArgs(interp, 1, objv, "dirName"); return TCL_ERROR; } --- 306,312 ---- int result; if (objc > 2) { ! Tcl_WrongNumArgs(interp, 1, objv, "?dirName?"); return TCL_ERROR; } PatchFiles: tcl8.0.4/generic/tclCmdAH.c This fix has already be added to tcl8.1b1 and jacl so it should really be in 8.0.5 too. thanks mo dejong dejong at cs.umn.edu - foundin changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "The cd command has incorrect error message"
- type changed to: "Bug"