Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8f0fe6021a3af78dd523141724adb332c9d61752
Ticket: c383ebb5e414458cd386e6016e59f693e3840e81
"glob -path a" core dumps instead of argument error
User & Date: dgp on 2016-06-20 19:35:05
Changes

  1. assignee changed to: "dgp"
  2. closedate changed to: "2457560.31603374"
  3. closer changed to: "dgp"
  4. icomment:
    
    The 8.5 -> 8.6 difference is rooted in TIP 323.
    
    [glob] has been revised to accept zero pattern arguments.
    Proper behavior for [glob -path a] is now:
    
      no files matched glob patterns ""
    
    and [glob -nocomplain -path a] would succeed
    and return an empty list.
    
    A stanza of C code was written in a way that 
    implicitly assumed 1 or more pattern arguments.
    Likely not on purpose. Just a misplaced initialization.
    Then as described, gcc quirks hid the consequences
    from a lot of us.
    
    Fixed for 8.6.6 and beyond.
    
  5. login: "dgp"
  6. mimetype: "text/plain"
  7. resolution changed to: "Fixed"
  8. status changed to: "Closed"