Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4f6c543230151f17bca9247e19002d6872014640f89addc40598d778a5a8d2a3
Ticket: 560c5e438c47f5fdd34846dbb333ab96cb905416
modernize [file stat] interface
User & Date: emiliano on 2021-01-05 16:14:16
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    [file stat] uses and old interface which requires to pass a variable name to use as an array to return the result. This is problematic for two reasons
    * If this information is meant to be passed around to procs, the usual [array get]/[array set] is needed.
    * It pollutes the variable namespace for no additional benefit.
    
    Nowadays dictionaries are a more natural data structure to return such information.
    This RFE proposes to modify [file stat] such that passing the variable name is optional, returning a dictionary otherwise.
    
    Attached patch implements such behaviour. Note that tests cmdAH-28.1 and cmdAH-28.2 are affected by this change. The patch address this issue as well.
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "emiliano"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "885ae311f5fce05c2a8d9c31d2d2a1b5638ca9df"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "emiliano"
  14. subsystem changed to: "16. Commands A-H"
  15. title changed to: "modernize [file stat] interface"
  16. type changed to: "RFE"