delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Wed, 29 Oct 2003 09:56:39 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Gawk printf problem with negative numbers |
Message-ID: | <20031029085639.GG1653@cygbert.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <T65902760dfc0a87563404 AT sausmailstop DOT sciatl DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <T65902760dfc0a87563404@sausmailstop.sciatl.com> |
User-Agent: | Mutt/1.4.1i |
On Tue, Oct 28, 2003 at 05:28:23PM -0500, kenneth DOT shaffer AT sciatl DOT com wrote: Content-Description: Mail message body > I expected the output of a negative 1234 in hex to look like 0xfffffb2e: > > > echo |gawk '{n = -1234; printf("0x%x\n",n+0)}' > 0x-1234 > > > gawk --version > GNU Awk 3.1.3 > > running under cygwin for the PC. > > I believe the INTMAX_MIN mentioned in an earlier thread has something to do with it. Correct. I've uploaded a new gawk package. The definition of INTMAX_MIN has been fixed in current CVS. Thanks for the report. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |