cygwin Tcl oddity

Lloyd Wood via cygwin cygwin@cygwin.com
Wed Sep 5 03:51:00 GMT 2018


$ tclsh 
% puts [expr 2+2] 
4 
% puts [expr 2.0+2.0] 

(hangs, should return 4.0)

$ which tclsh 
/usr/bin/tclsh

info tclversion returns 8.6, of course (8.6.8-1)
Linux tclsh doesn't have this issue.

This is on 32-bit cygwin; 64-bit cygwin seems a bit more robust,
but if you keep asking it to sum and print floating point nos at
the command line, it seems to hang eventually as well.

Ideas?

thanks 

Lloyd Wood
http://savi.sf.net/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list