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:message-id:date:from:reply-to:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=DySGpCZbtL2JfdQ3 4pYXM80GxnhxgnLV7tIUyt9z6oWJtewTV9gEXB5LjFKO6ZIVxkIOhHAN4GC97Dt0 HfmDbOVMCXj+XlQ+qRrlfl/FqtgvjTmXsxjyHFETXONfRL451ckMpsSgAFbLCjrc y6ymFlU/xUJP5SqwvgUZf8qjOoo= 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:message-id:date:from:reply-to:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=e/RhRTPgthzLzfLi/lrhpj ueiQw=; b=FQLAQkRUmH523oE+jChI61o5xfyjEmHwzTC7HQNmc9ETfCnwXfMC69 uhaUZJand1Je2g6tStlh2YHWfiZi2eIcrqIIm8nHptI2SprvEPywtnnVJQIA15I1 2gTIlf3zMVNuCxrTC8Ck/iys+LKRYn2cN6/0Pt9fXaI55LtGG17Co= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: smtpout04.bt.lon5.cpcloud.co.uk X-CTCH-RefID: str=0001.0A090208.52ED0D97.00B7,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=8/97,refid=2.7.2:2014.1.29.90616:17:8.317,ip=,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, CT_TEXT_PLAIN_UTF8_CAPS, __CTE, __ANY_URI, URI_ENDS_IN_HTML, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_900_999, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, BODY_SIZE_1000_LESS, BODY_SIZE_2000_LESS, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS X-CTCH-Spam: Unknown Message-ID: <52ED0DA2.10309@dronecode.org.uk> Date: Sat, 01 Feb 2014 15:07:14 +0000 From: Jon TURNEY Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: jaakov AT ro DOT ru Subject: Re: xcalc comma doesn't work properly under de_DE.UTF-8 References: <1391261213 DOT 884324 DOT 4397 DOT 6260 AT mail DOT rambler DOT ru> In-Reply-To: <1391261213.884324.4397.6260@mail.rambler.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 01/02/2014 13:26, jaakov jaakov wrote: > Package: xcalc > Version: 1.0.5 > > Problem: Input digits after the decimal separator (comma in German) are > ignored for computation. > Steps to reproduce: > A. Make sure that the LANG shell variable is set to "de_DE.UTF-8" . > B. Start xcalc from the shell. > C. Using mouse, press the following screen buttons in the xcalc window: > 1 > . > 1 > x^2 > D. Observe that the result is 1, which is wrong, since the square of 1.1 is 1.21. > > If in step A the LANG would be set to, say, "en", the result would be a > correct 1.21. > If in step A we keep the German locale but in step C we would press pi, and > then x^2, the after-dot-digits would be considered again. > > Please fix the bug! This behaviour appears to be due a problem with cygwin's sscanf() in the de_DE.UTF-8 locale, apparently already fixed in the latest snapshot. See [1]. [1] http://cygwin.com/ml/cygwin/2013-12/msg00294.html -- 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