Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 320a7d37c319787e60a666c72b25231fc20cee1b
Ticket: 879555ffffffffffffffffffffffffffffffffff
unix glob has inconsistent behavior
User & Date: coldstore on 2004-01-22 11:54:57
Changes

  1. icomment:
    Logged In: YES 
    user_id=19214
    
    The problem is in tclPathObj.c TclFSNormalizeAbsolutePath.
    Given a pathPtr argument containing the string
    "/home/colin/.gnome-desktop/tclhttpd-cvs/htdocs/./.tml" it
    returns a value
    "/home/colin/.gnome-desktop/tclhttpd-cvs/htdocs/htdocs/./.tml"
    
    The problem seems to be in the replacement of substrings
    like /./, where oldDirSep is not being advanced to account
    for the elision.
    
    Is the problem's solution immediately obvious, or should I
    go digging for one?  I don't feel I can suggest a solution
    off the top of my head, but I will certainly find one if needed.
    
    
  2. login: "coldstore"
  3. mimetype: "text/plain"
  4. username: "coldstore"