Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 3370 From tytso@MIT.EDU Thu Dec 5 22:22:52 1996 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id WAA11173 for ; Thu, 5 Dec 1996 22:22:52 -0500 Received: from DCL.MIT.EDU by MIT.EDU with SMTP id AA14350; Thu, 5 Dec 96 22:22:51 EST Received: by dcl.MIT.EDU (5.x/4.7) id AA15268; Thu, 5 Dec 1996 22:22:51 -0500 Message-Id: <9612060322.AA15268@dcl.MIT.EDU> Date: Thu, 5 Dec 1996 22:22:51 -0500 From: tytso@MIT.EDU Reply-To: tytso@MIT.EDU To: krb5-bugs@MIT.EDU Subject: TCL 7.4 also doesn't use main() X-Send-Pr-Version: 3.99 >Number: 282 >Category: krb5-admin >Synopsis: TCL 7.4 also doesn't use main() >Confidential: no >Severity: serious >Priority: high >Responsible: bjaspan >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Thu Dec 05 22:23:01 EST 1996 >Last-Modified: Fri Dec 06 13:02:01 EST 1996 >Originator: Paul Vixie >Organization: mit >Release: 1.0-development >Environment: BSD/OS 2.1 >Description: From Paul's message: bsd/os 2.1 ships with tcl 7.4 and that has no main() -- so in test.c... #define IS_TCL_7_5 ((TCL_MAJOR_VERSION * 100 + TCL_MINOR_VERSION) >= 705) #if IS_TCL_7_5 should be: #define _TCL_MAIN ((TCL_MAJOR_VERSION * 100 + TCL_MINOR_VERSION) >= 704) #if _TCL_MAIN >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: tytso State-Changed-When: Fri Dec 6 00:21:54 1996 State-Changed-Why: Patch applied From: "Barry Jaspan" To: krb5-bugs@MIT.EDU, tytso@MIT.EDU Cc: Subject: Re: krb5-admin/282: TCL 7.4 also doesn't use main() Date: Fri, 6 Dec 1996 12:35:26 -0500 bsd/os 2.1 ships with tcl 7.4 and that has no main() -- so in test.c... Before we make this change, I want to make sure that it really is Tcl 7.4 that does not have a main() and not BSD/OS's *version* of Tcl 7.4 that does not have a main(). I find it unlikely that we would have made this mistake, although it is possible we went from Tcl 7.3 to 7.5 and so never noticed exactly when the change occured. I think source dists for several previous version of Tcl are still available on the net. Barry From: "Theodore Y. Ts'o" To: "Barry Jaspan" Cc: krb5-bugs@MIT.EDU Subject: Re: krb5-admin/282: TCL 7.4 also doesn't use main() Date: Fri, 6 Dec 1996 13:01:25 -0500 I've just pulled over the TCL 7.4 sources, and it looks like we're safe on that score. The changes file has the following: 258. 5/20/94 The tclsh main program is now called Tcl_Main; tclAppInit.c has a "main" procedure that calls Tcl_Main. This makes it easier to use Tcl with C++ programs, which need their own main programs, and it also allows an application to prefilter the argument list before calling Tcl_Main. *** POTENTIAL INCOMPATIBILITY *** .... ----------------- Released version 7.4b1, 12/23/94 ------------------ So I think we're safe on this score. It looks like whoever put in the #ifdef initially wasn't careful about checking the Tcl changes file. Unlike a ChangeLog file, most recent tries are at the *end* of the file, not at the beginning, so I suspect someone got confused and looked at the wrong version release boundary. - Ted >Unformatted: