#3482 Cygwin network pathname support

obsolete: 8.5.12
closed-fixed
5
2012-08-08
2006-08-07
Anonymous
No

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

Discussion

  • Nobody/Anonymous

    Cygwin network pathname support

     
  • Don Porter

    Don Porter - 2006-08-07

    Logged In: YES
    user_id=80530

    What version of Tcl
    is the patch for?

    Please indicate in
    the "Group" form.

     
  • Don Porter

    Don Porter - 2006-08-07

    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.

     
  • Thiemo Seufer

    Thiemo Seufer - 2006-08-10

    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.)

     
  • Donal K. Fellows

    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.

     
  • Jan Nijtmans

    Jan Nijtmans - 2012-06-22
    • assigned_to: vincentdarley --> nijtmans
     
  • Jan Nijtmans

    Jan Nijtmans - 2012-06-22

    Committed to bug-1536227 branch

     
  • Jan Nijtmans

    Jan Nijtmans - 2012-06-22
    • status: open --> open-fixed
     
  • Jan Nijtmans

    Jan Nijtmans - 2012-06-22

    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.

     
  • Jan Nijtmans

    Jan Nijtmans - 2012-06-25
    • status: open-fixed --> closed-fixed
     
  • Jan Nijtmans

    Jan Nijtmans - 2012-06-25

    Fixed in core-8-5-branch and trunk

     
  • Jan Nijtmans

    Jan Nijtmans - 2012-08-03
    • labels: 310732 --> 36. Pathname Management
    • status: closed-fixed --> open
     
  • Jan Nijtmans

    Jan Nijtmans - 2012-08-03

    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

     
  • Jan Nijtmans

    Jan Nijtmans - 2012-08-03
    • milestone: --> obsolete: 8.5.12
     
  • Jan Nijtmans

    Jan Nijtmans - 2012-08-03

    And let's see if I can address some of dgp's points below.

     
  • Jan Nijtmans

    Jan Nijtmans - 2012-08-08

    Cygwin implementation now matches the Windows
    implementation, as indicated below.

    Fixed in core-8-5-branch and trunk.

     
  • Jan Nijtmans

    Jan Nijtmans - 2012-08-08
    • status: open --> closed-fixed