Overview
| Artifact ID: | 9dd3c28ecba2c2fa315258f0a821ff809b3625c2c52c01f63049b4b79803d695 |
|---|---|
| Ticket: | e155cedf33aca13baf5ab0f3749b00861d8924d5
Error-handling in TclGetOpenMode() |
| User & Date: | jan.nijtmans on 2024-04-10 13:16:58 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Function TclGetOpenMode() doesn't do much error-handling. For example: <pre> $ tclsh8.6 % open README.md {RDWR RDONLY} file3 </pre> This should be invalid, as `RDWR` and `RDONLY` are incompatible. Also, it doesn't handle repeating: <pre> $ tclsh8.6 % open README.md {RDWR RDWR} file3 </pre> This was noted while working on [https://core.tcl-lang.org/tips/doc/trunk/tip/691.md|TIP #691], but since it would make the TIP implementation unneccesary big it's better to separate it. - foundin changed to: "8.6"
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "37. File System"
- title changed to: "Error-handling in TclGetOpenMode()"
- type changed to: "Bug"