Overview
| Artifact ID: | a98438c91719b4da0cc0e0d313c14f08385ecb8e57dc916b98fd47cb3d80661e |
|---|---|
| Ticket: | e155cedf33aca13baf5ab0f3749b00861d8924d5
Error-handling in TclGetOpenMode() |
| User & Date: | jan.nijtmans on 2024-04-10 14:42:23 |
Changes
- icomment:
> I suppose, this is from old times ... In this case, "mode" is produced by the function TclGetOpenModeEx(), and it can only be O_RDONLY, O_WRONLY or O_RDWR. It's impossible to produce another value through user input. Therefore, I think we can keep this Tcl_Panic(): it's impossible to trigger this at script level (neither at C-API level).
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"