Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0789bde8b7b2f04b5d7f476d0079c7cec37da553ab3ae0b69e1fe45ed7c22159
Ticket: e155cedf33aca13baf5ab0f3749b00861d8924d5
Error-handling in TclGetOpenMode()
User & Date: oehhar on 2024-04-10 14:31:24
Changes

  1. icomment:
    Great, Jan, great action.
    
    I saw your commit:
    [https://core.tcl-lang.org/tcl/info/1de2bb21a5da29a2] -> great action
    
    The unmodified line 1182 of file generic/tclIOCmd.c states:
    
    <verbatim>
    default:
    		Tcl_Panic("Tcl_OpenCmd: invalid mode value");
    		break;
    	    }
    </verbatim>
    
    I suppose, this is from old times and should be transfered to an assertion or a real error return.
    Shall I care?
    
    Take care,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"