Tcl Source Code

View Ticket
Login
Ticket UUID: 1536227
Title: Cygwin network pathname support
Type: Bug Version: obsolete: 8.5.12
Submitter: nobody Created on: 2006-08-07 18:48:18
Subsystem: 36. Pathname Management Assigned To: nijtmans
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2012-08-08 17:00:17
Resolution: Fixed Closed By: nijtmans
    Closed on: 2012-08-08 10:00:17
Description:
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
User Comments: nijtmans added on 2012-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.

nijtmans added on 2012-08-03 14:09:00:
And let's see if I can address some of dgp's points below.

nijtmans added on 2012-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 added on 2012-06-25 15:08:28:

allow_comments - 1

Fixed in core-8-5-branch and trunk

nijtmans added on 2012-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.

nijtmans added on 2012-06-22 19:07:31:
Committed to bug-1536227 branch

dkf added on 2006-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.

ths-sf added on 2006-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.)

dgp added on 2006-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.

dgp added on 2006-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.

nobody added on 2006-08-08 01:48:19:

File Added - 188059: tcl-cygwin

Attachments: