Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 58ec8568555f5db599dc17fd51341c25f3784bbb223f05d98c02d1352ed1d302
Ticket: a5ba717243b058b21fc3b9c2f39ce012c0a4eb82
glob should correctly handle case-sensitive paths on case-insensitive systems and vice versa
User & Date: apnadkarni on 2026-03-25 06:46:40
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    As a follow-on to [108904173c](https://core.tcl-lang.org/tcl/tktedit/108904173c)...
    
    The semantics of glob do case-insensitive matching on Windows even when the file system or directory are case-sensitive. Thus a pattern FOO will match even when FOO does not exist on the file system but foo does.
    
    The reverse is also likely to be true (case-insensitive file system mounted on Unix). 
    
    Fixing may not be easy, particularly since case-insensitivity can be on a per-directory basis. Possibly documenting this corner case is all we can do.
    
  5. is_private changed to: "0"
  6. login: "apnadkarni"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "apnadkarni"
  13. subsystem changed to: "37. File System"
  14. title changed to:
    glob should correctly handle case-sensitive paths on case-insensitive systems and vice versa
    
  15. type changed to: "RFE"