Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d1c35809a3cca5c3640973fc9cb36ab17de22be2
Ticket: 2881189fffffffffffffffffffffffffffffffff
Should Tcl_Main() exit if appInitProc returns TCL_ERROR?
User & Date: teopetuk on 2009-10-18 07:07:17
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi!
    
    It is documented in Tcl_AppInit(3) that appInitProc() may return TCL_ERROR along with an error message. Tcl_Main() prints out the error message and continues working. Wouldn't it be better if Tcl_Main() exited in case of appInitProc() returned TCL_ERROR? Or may be it should be documented that if application initialization failure is fatal then appInitProc() should call exit()? Or may be something else?
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "teopetuk"
  10. subsystem changed to: "None"
  11. title changed to:
    Should Tcl_Main() exit if appInitProc returns TCL_ERROR?
    
  12. type changed to: "RFE"