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

History Of Ticket 910525ffffffffff

Artifacts Associated With Ticket 910525ffffffffff

  1. Ticket change [b69f72887a] (rid 125452) by nobody on 2004-03-05 15:38:24:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This is observed with Tcl8.4.4 under Mac OSX 10.2.3:
      
      The statement [glob -path /priv *] fails to find the
      directory /private.  Instead an error is raised:
      "no files matched glob pattern "*"".
      
      
    4. foundin initialized to: "obsolete: 8.4.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "[glob -path /priv *] doesn't find /private"
    11. type initialized to: "Bug"
  2. Ticket change [6044f3ef11] (rid 115961) by vincentdarley on 2004-03-06 02:07:47:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      I notice that this also fails on Windows:
      
      % glob -path C:/Win *
      no files matched glob pattern "*"
      
      It seems like the handling of 'toplevel' paths is buggy...
      
      Thanks for the report.
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  3. Ticket change [e0f1b5ef8c] (rid 87359) by vincentdarley on 2004-03-08 01:52:37:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Please test this patch:
      
      diff -u -r1.47 tclFileName.c
      --- tclFileName.c       5 Feb 2004 20:25:32 -0000       1.47
      +++ tclFileName.c       7 Mar 2004 18:42:44 -0000
      @@ -1745,6 +1745,13 @@
                      /* Have to split off the end */
                      Tcl_DStringAppend(&pref, last,
      first+pathlength-last);
                      pathOrDir = Tcl_NewStringObj(first,
      last-first-1);
      +               /*
      +                * We must ensure there's at least one path
      separator
      +                * in the prefix, even if it's just "/" or
      "C:/".
      +                */
      +               if (strpbrk(Tcl_GetString(pathOrDir), "\\/")
      == NULL) {
      +                   Tcl_AppendToObj(pathOrDir, last-1, 1);
      +               }
                  }
                  /* Need to quote 'prefix' */
                  Tcl_DStringInit(&prefix);
      
      Should work on Windows and Unix, I think (but only tested on
      the former).
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  4. Ticket change [fadbfca4ab] (rid 91957) by vincentdarley on 2004-03-09 20:07:29:

    1. status changed to: "Closed"
  5. Ticket change [e95be25a84] (rid 104810) by vincentdarley on 2004-03-09 20:07:30:

    1. closedate changed to: "2004-03-09T13:07:30"
    2. closer changed to: "vincentdarley"
    3. icomment:
      Logged In: YES 
      user_id=32170
      
      Fixed in cvs HEAD and 8.4 branch (so will be in 8.4.7 if
      there is ever such a release).
      
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. username: "vincentdarley"