Cygwin network pathname support
Closed / Fixed1536227fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 14 years ago
Descriptionplain2006-08-07 18:48:18
Hello All, the attached patch adds support for //-prefixed network pathnames for Cygwin to tcl. From reading the wiki I understand the Cygwin support is basically unmaintained, but this patch may still have some use. Thiemo
nobodyplain2006-08-08 01:48:19
File Added - 188059: tcl-cygwin
dgpplain2006-08-08 02:21:40
Logged In: YES user_id=80530 What version of Tcl is the patch for? Please indicate in the "Group" form.
dgpplain2006-08-08 02:32:35
Logged In: YES user_id=80530 Looking at the patch, it appears to be fairly "kludgy". I'd be much happier to see someone develop a patch that builds on Tcl's ability to support virtual filesystems (available for years now, ever since Tcl 8.4.0), so that the weird Cygwin filesystem can be made available to Tcl on its own terms, not as a collection of tweaks and hacks #ifdef'd into the native filesystem support.
ths-sfplain2006-08-11 00:58:42
Logged In: YES user_id=1336038 I updated it for current CVS, we use it with 8.4.1. It wa probably forward proted from an earlier version. (The group form appears to be accessible only for poroject admins.)
dkfplain2006-08-11 06:37:19
Logged In: YES user_id=79902 You'll need to submit a new Patch issue, as SF only permits the submitter (and project techs/admins) to attach or remove files. If you're not logged in at submission, that's just too bad. And we (the Tcl people) can't fix that; it's a general SF policy.
nijtmans Ticket [1536227fff]: 1 change
[History diff]2012-06-22 18:17:22
nijtmansplain2012-06-22 19:07:31
Committed to bug-1536227 branch
nijtmans Ticket [1536227fff]: 1 change
[History diff]2012-06-22 19:07:45
nijtmansplain2012-06-22 19:14:31
I don't think it's possible to do this with the virtual filesystem API, as the UNIX path functions handle '/' separately. To me this patch looks like the way to go.
nijtmansplain2012-06-25 15:08:28
allow_comments - 1 Fixed in core-8-5-branch and trunk
nijtmansplain2012-08-03 14:06:14
allow_comments - 0 data_type - 110894 It turns out that the current cygwin implementation is not quite correct: On Windows: % file split //a/b/c/d //a/b c d On Cygwin: % file split //a/b/c/d // a b c d There are various tickets explaining why the win32 answer is correct, the Cygwin implementation should do the same thing. B.T.W. The QNX implementation is not correct either: % file split //12b/c //12/b/c
nijtmans Ticket [1536227fff]: 1 change
[History diff]2012-08-03 14:06:28
nijtmansplain2012-08-03 14:09:00
And let's see if I can address some of dgp's points below.
nijtmansplain2012-08-08 17:00:17
allow_comments - 1 Cygwin implementation now matches the Windows implementation, as indicated below. Fixed in core-8-5-branch and trunk.
Log in (anonymous is fine) to add a comment.
Attachments:
- tcl-cygwin [download] added by nobody on 2006-08-08 01:48:19. [details]