Ok, I will put a "package require Tcl 8.3" check into the configure.in
and pkgIndex.tcl files so that Tcl Blend 1.3 will only work on Tcl 8.3
and newer systems.

If anyone wants to run Tcl Blend on older 8.0 -> 8.2 versions of Tcl
they can use the stable release.

Mo Dejong
Red Hat Inc.

On Thu, 23 Mar 2000, Jiang Wu wrote:

> Tcl 8.2.3 uses "vfork" instead of "fork".  Apparently, "vfork" produces a
> child process that shares the parent process's signal handlers.  Then the
> Tcl code calls "RestoreSignals()" in the child process to make the signal
> handlers back to defaults.  But this also changed the parent process's
> signal handlers.
> 
> It looks like in Tcl 8.3, they stopped using "vfork" and just use a "fork",
> which doesn't have this problem.  Here is the part of the change log from
> 8.3 mentioning this particular problem:
> 
>       * unix/configure.in:
>       * unix/tcl.m4:
>       * unix/tclUnixPipe.c: removed checking for compatible vfork
>       function and use of the vfork function.  Modern VM systems rarely
>       suffer any performance degradation when fork is used, and it
>       solves multiple problems with vfork.  Users that still want vfork
>       can add -Dfork=vfork to the compile flags. [Bug: 942 2228 1312]
> 
> So to use Tcl 8.2.3 with JDK 1.2.2, we need to patch the unix/tclUnixPipe.c
> to use "fork" instead of "vfork".  After making this fix, everything worked
> as expected.
> 
> -- Jiang Wu
>    [EMAIL PROTECTED]

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to