Overview
| Artifact ID: | 4f6c543230151f17bca9247e19002d6872014640f89addc40598d778a5a8d2a3 |
|---|---|
| Ticket: | 560c5e438c47f5fdd34846dbb333ab96cb905416
modernize [file stat] interface |
| User & Date: | emiliano on 2021-01-05 16:14:16 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "8.7"
- is_private changed to: "0"
- login: "emiliano"
- priority changed to: "5 Medium"
- private_contact changed to: "885ae311f5fce05c2a8d9c31d2d2a1b5638ca9df"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "emiliano"
- subsystem changed to: "16. Commands A-H"
- title changed to: "modernize [file stat] interface"
- type changed to: "RFE"