[Pkg-tcltk-devel] Bug#502304: Tcl_Main should quit (exiting nonzero) if appInitProc fails

Stéphane Aulery lkppo at free.fr
Fri Aug 31 15:18:37 UTC 2012


tags 502304 wontfix
stop

Hi,

The link to the bug report is broken. The new url is:

http://sourceforge.net/tracker/?func=detail&aid=2881189&group_id=10894&atid=360894

As explained in the bug report, this behavior will not be changed without a TIP proposal because it is too invasive. I quote the answer:

> I agree that it would be a more consistent behavior
> for Tcl_Main to exit() when the appInitProc returns
> TCL_ERROR. However the existing behavior has
> been in place since release 7.5, since long before
> any of the current maintainers got started, and I
> have no clear idea how much code is written with
> that expectation.
> 
> The way forward is to TIP this feature change in
> the early days of feature development once the
> window opens on the 8.7/9.0 feature chase. Then
> the TIP discussion will have some change to chase
> down the pros/cons of the proposed change.
> 
> As you observe, the appInitProc() writer has a
> workaround available to simply call exit() for
> itself if it has already determined that the error
> ought to be a fatal one.


Regards,

-- 
Stéphane Aulery



More information about the Pkg-tcltk-devel mailing list