Skip to content
Tcl Source Code History Of Ticket 913536ffffffffff
Login

History Of Ticket 913536ffffffffff

Artifacts Associated With Ticket 913536ffffffffff

  1. Ticket change [746bec3fd6] (rid 105201) by p_samson on 2004-03-10 15:01:24:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OS: Windows/Cygwin
      
      % set a [file join / var tmp *]
      /var/tmp/*
      % set b [glob $a]
      {D:/cygwin/var/tmp/errors} D:/cygwin/var/tmp/p.log
      
      From the glob documentation (8.4.5), I expected:
      {/var/tmp/errors} /var/tmp/p.log
      
      So, without the windows style such as provided
      (as expected) by file normalize.
      % file normalize /var/tmp/errors
      D:/cygwin/var/tmp/errors
      
      This behaviour brokes a script designed on a Unix
      box:
      A [lsearch -exact] between a result of a
      [split [glob [file join ...]]] and a
      [file join ...]
      
      The glob introduces the windows drive but not
      the file join.
      
      It may be the normal behaviour. If so, I think
      it should be more clear in the doc.
      
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "p_samson"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "windows: Glob returns [file normalize]'d paths"
    11. type initialized to: "Bug"
  2. Ticket change [551d4f5151] (rid 94074) by dkf on 2004-03-10 22:44:39:

    1. assignee changed to: "vincentdarley"
    2. subsystem changed to: "36. Pathname Management"
  3. Ticket change [0aeec0bb91] (rid 113906) by hobbs on 2004-03-11 00:16:24:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      This should be noted in the docs, but it is the correct
      behavior.  It's the oddity of cygwin in the mix that is the
      difference.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  4. Ticket change [5a41363c46] (rid 118112) by p_samson on 2004-03-11 19:29:41:

    1. icomment:
      Logged In: YES 
      user_id=994002
      
      So be it.
       As a workaround, I added a [file normalize] to the
      [file join] for the [lsearch] to compare things of the
      same style.
      
      
    2. login: "p_samson"
    3. mimetype: "text/plain"
    4. username: "p_samson"
  5. Ticket change [f444583bd8] (rid 129879) by vincentdarley on 2004-03-22 19:33:14:

    1. assignee changed to: "stwo"
    2. icomment:
      Logged In: YES 
      user_id=32170
      
      I don't really use or know cygwin, and can't really comment
      on this.  For ordinary Win-Tcl it all works fine.
      
      
      
    3. login: "vincentdarley"
    4. mimetype: "text/plain"
    5. username: "vincentdarley"
  6. Ticket change [3002550e2d] (rid 93172) by nijtmans on 2012-08-03 14:16:20:

    1. closedate changed to: "2012-08-03T07:16:20"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      Since the Cygwin port is now derived from
      the UNIX port, This issue can be considered
      out of date: Drive prefixes, as on Windows,
      are not used any more So, closing
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"
    8. username: "nijtmans"