| Ticket UUID: | 1158199 | ||
| Title: | when in a network directory, can't open "COM<n>:" | ||
| Type: | Bug | Created on: | 2005-03-07 10:54:09 |
| Submitter: | nobody | Assigned to: | vincentdarley |
| Subsystem: | 37. File System | Severity: | |
| Priority: | 5 Medium | Last modified: | 2005-03-16 01:42:32 |
| Status: | Closed | Closed by: | vincentdarley |
| Resolution: | Fixed | Closed on: | 2005-03-15 18:42:32 |
| Version: | obsolete: 8.4.9 | ||
| Description: | ||||
Platform: Windows XP.
When in a network directory, can't open "COM<n>:" channel.
Example:
(bin) 4 % cd {\\the_server\my_account}
() 5 % pwd
//the_server/my_account
() 6 % set chan [open "COM1:"]
couldn't open "COM1:": no such file or directory
As a temporary workaround:
set curr_dir [pwd]
cd
set chan [open "COM1:"]
cd $curr_dir
| ||||
| User Comments: | ||||
vincentdarley added on 2005-03-15 01:27:53:
Logged In: YES user_id=32170 Try 'open "com1:"' instead. Does that work? (i.e. with lower case). Also please do try Tcl 8.5alpha. vincentdarley added on 2005-03-15 21:25:38:
Logged In: YES user_id=32170 Ok, this is a bug in 8.4 and 8.5. Tcl should deal with these special names with both upper and lower case (or mixed case for that matter). For the moment, a workaround is to use lower case. I'll aim to fix this for the next releases. dgp added on 2005-03-16 01:35:53:
Logged In: YES user_id=80530 Looks like a commit meant to fix this had broken the Tcl build on unix systems. They complain about an undefined symbol "stricmp". vincentdarley added on 2005-03-16 01:42:32:
Logged In: YES user_id=32170 Ah, thanks -- fixed the unix build with a more verbose approach to achieve the same end. Fixed in 8.4 and 8.5 branches. | ||||
