delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/04/23:52:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:reply-to:to:message-id
:subject:mime-version:content-type:content-transfer-encoding
:references; q=dns; s=default; b=jRUaJ0ERTh4N4u21jya/qlaYFzWaJF2
hZ9HayTwd9KsfyvNvsU25zl4qP+Q0YMNEg6JgcLJAx4wbQjbHff+02cfWT4Ye1wL
ZqIaPVafYe0gMISvxWOUfHokvjN5Tku8NGi+thcnlRfK6meoQ7BpUwXa34vK9Bwb
g+45112hAcw4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:reply-to:to:message-id
:subject:mime-version:content-type:content-transfer-encoding
:references; s=default; bh=2D39muVnxOY3vQmD88QddTSeP9A=; b=iArAe
yYGfSQesC04zOqhU78Q/C9b3GTHjTe8J4R8PgKycDG9nFmEmRqTcLMD5AQ1Zh85G
/eDugVFdBOsMCuZNKy7gmMY2H5jgZfB3/TXJ38pF6FUVeN4YTrE/Y8/UkvTUqNTq
/uTqgWkmA4be6SLjoQcqC/WwO7D4fyG08RjwyI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=nos, wood, H*F:D*uk, H*F:D*co.uk
X-HELO: sonic311-32.consmr.mail.ir2.yahoo.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1536119512; bh=tiYSxVbfaFYl3/QEhNCqDgvkfYYGBO1gKDIa634f4Os=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=WL4ceSPKYAieaSrPOSvlVxHd9UJ1kTdwJVS4FvTWNhxJzZ1oZTINH39cJlXz6EnIaPxxSarZn3/laG4XdFk5TV7tgwbcvQwrVKC763CeFeEXWBEzWkju6SoAlAeVl+/H2UZxRbzfpplpGVFN5/5OnolQr6CQgTjN610qrUpMBFkU2wT/t2RQuVFdoFE5BcMC8dX+1aW51705JHJNXjtj8Zpu3EykyqkN46zE0FS6puPNIj6ISiaOdvH6NUJ3JZwI+7MuN66f3FhR/bpXywVMULM8CSEeRtiMZ5lEMCaG4yV2Z/0BDm9PpxSJgo/lc/DYdNWEiELbJRfb21xQZszfbw==
Date: Wed, 5 Sep 2018 03:51:37 +0000 (UTC)
From: "Lloyd Wood via cygwin" <cygwin AT cygwin DOT com>
Reply-To: Lloyd Wood <lloyd DOT wood AT yahoo DOT co DOT uk>
Reply-To: Lloyd Wood <lloyd DOT wood AT yahoo DOT co DOT uk>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <1559804146.2444595.1536119497417@mail.yahoo.com>
Subject: cygwin Tcl oddity
MIME-Version: 1.0
References: <1559804146 DOT 2444595 DOT 1536119497417 DOT ref AT mail DOT yahoo DOT com>

$ 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019