Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 29a3301caa1be2ebcaf3da9477a25f37895108577b601df197b81844a357b8e3
Ticket: 7eb6b3a53f963364c3c6f29d7622d70ddf8dd610
glob on UNC path requires additional slash
User & Date: anonymous on 2026-05-29 07:48:54
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    Glob on windows unc path sometimes works incorrectly:
    
    % llength [glob //?/C:/WINDOWS/*]
    112
    % llength [glob {\\?\C:\WINDOWS\*}]
    no files matched glob pattern "\\?\C:\WINDOWS\*"
    % llength [glob "\\\\?\\C:\\WINDOWS\\*"]
    no files matched glob pattern "\\?\C:\WINDOWS\*"
    
    With additional slash:
    
    % llength [glob {\\?\C:\WINDOWS\\*}]
    112
    % llength [glob "\\\\?\\C:\\WINDOWS\\\\*"]
    112
    
    (latest tcl 9.1 from repo on windows 10)
    
    This behavior seems inconsistent.
    
  5. foundin changed to: "8.4-9.1"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "36. Pathname Management"
  14. title changed to: "glob on UNC path requires additional slash"
  15. type changed to: "Bug"