Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-08-08
17:00 • Closed ticket [1536227fff]: Cygwin network pathname support plus 7 other cha... artifact: cce142ecb7 user: nijtmans
2012-08-03
14:09 • Ticket [1536227fff]: 4 changes artifact: 83f14feb68 user: nijtmans
14:06 • Ticket [1536227fff]: 1 change artifact: 143709237c user: nijtmans
14:06 • Open ticket [1536227fff]. artifact: 0128b481e0 user: nijtmans
2012-06-25
15:08 • Closed ticket [1536227fff]. artifact: 5c393b63d6 user: nijtmans
2012-06-22
19:14 • Ticket [1536227fff]: 4 changes artifact: 51c9775878 user: nijtmans
19:07 • Ticket [1536227fff]: 1 change artifact: 51cd6e4f63 user: nijtmans
19:07 • Ticket [1536227fff]: 4 changes artifact: a10b64c0dd user: nijtmans
18:17 • Ticket [1536227fff]: 1 change artifact: 14ba81d556 user: nijtmans
2006-08-11
06:37 • Ticket [1536227fff]: 4 changes artifact: 9b9b24b0a2 user: dkf
00:58 • Ticket [1536227fff]: 4 changes artifact: 6b3c857f8c user: ths-sf
2006-08-08
02:32 • Ticket [1536227fff]: 4 changes artifact: c51244b7a0 user: dgp
02:21 • Ticket [1536227fff]: 4 changes artifact: a01b0b9cc7 user: dgp
01:48 • Add attachment tcl-cygwin to ticket [1536227fff] artifact: 124ec641d7 user: nobody
01:48 • Ticket [1536227fff] Cygwin network pathname support status still Open with 4... artifact: 748cc62faa user: nobody
2006-08-07
18:48 • New ticket [1536227fff]. artifact: a6cf689f85 user: nobody

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: