Overview
| Artifact ID: | 276ec65c5f6dbd3c55c82b4e0b117bbc1c86bff0 |
|---|---|
| Ticket: | 1479814fffffffffffffffffffffffffffffffff
Tcl should support Unicode versions of Win32 file APIs |
| User & Date: | cc_benny on 2006-05-02 05:20:37 |
Changes
- icomment:
Logged In: YES user_id=143885 "Chris R" writes on c.l.t: > There is one issue with this, though -- what *should* > the results of a file normalize be, [file normalize] for normal file names should not change IMO. > The two forms (with and without \\?\ prefix) are > equivalent to the API, even if not all frontend > applications support them. No they are not. Opening "\\?\c:\tmp\com1" will create a file "com1" which the user will than be unable to delete. Opening "c:\tmp\com1" will open the first serial port. There are probably other incompatibilities and Microsoft might introduce more. Also "\\?\..." doesn't mean anything to W9x/Me. Tcl handles UNC paths fine right now. Last time I tested this, the error result for opening \\?\c:\tmp\... took some time, which hints to me that some code probably tried to resolve the host "?". That would run into a timeout, because that host doesn't exist, of course. From testing it seems that the code already handles ".", which is used for devices. I think we might just need a special case in the code that handles UNC paths for the special hostname "?".
- login: "cc_benny"
- mimetype: "text/plain"
- username: "cc_benny"