Artifacts Associated With Ticket 218490
Ticket change [4e95ff1ab1] (rid 125669) by nobody on 2000-10-26 01:01:13:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 708 Bug Version: 8.0.3 SubmitDate: '1998-10-13' LastModified: '1999-04-16' Severity: SER Status: Released Submitter: admin ChangedBy: stanton OS: All Windows OSVersion: NA Machine: NA FixedDate: '1999-04-19' FixedInVersion: 8.1 ClosedDate: '2000-10-25' The following command crashes on WinNT and win95 with Tcl8.0.3 file attributes "" -longname Same bug on Windows95 for -longname and -shortname. The other options { -archive -hidden -readonly -system } give the correct error report: % file attributes "" -readonly cannot get attribute "-readonly" for file "": no such file or directory One workaround could be to test if file exists. on 8.1b3 the command does not crash, but it also does not give an error. The actual bug may be masked by code changes, but it may crash in the future if code changes sufficiently for the bug to reemerge. This should be investigated and fixed. 04/16/1999 14:00 - stanton - 4/19/99 - redman - (8.1) The code that would have crashed is in a for loop looping on the number of elements in the path, which is zero. I added a check for the number of elements and return an error code if zero. - foundin initialized to: "obsolete: 8.0.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "37. File System"
- title initialized to: "crash if $foo is not an existing file in"
- type initialized to: "Bug"
Ticket change [cc681dba99] (rid 95693) by welch on 2000-10-26 08:23:17:
- closedate changed to: "2000-10-26T01:23:17"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"