From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7230 invoked by alias); 29 Oct 2003 06:04:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 7153 invoked from network); 29 Oct 2003 06:04:08 -0000 Received: from unknown (HELO slinky.cs.nyu.edu) (128.122.20.14) by sources.redhat.com with SMTP; 29 Oct 2003 06:04:08 -0000 Received: from slinky.cs.nyu.edu (localhost [127.0.0.1]) by slinky.cs.nyu.edu (8.12.10+Sun/8.12.10) with ESMTP id h9T644Mh020478; Wed, 29 Oct 2003 01:04:04 -0500 (EST) Received: from localhost (pechtcha@localhost) by slinky.cs.nyu.edu (8.12.10+Sun/8.12.2/Submit) with ESMTP id h9T644RV020475; Wed, 29 Oct 2003 01:04:04 -0500 (EST) X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 29 Oct 2003 08:56:00 -0000 From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: Shankar Unni cc: cygwin@cygwin.com Subject: Re: Gawk printf problem with negative numbers In-Reply-To: Message-ID: References: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-10/txt/msg01715.txt.bz2 On Tue, 28 Oct 2003, Shankar Unni wrote: > kenneth.shaffer@sciatl.com wrote: > > >> echo |gawk '{n = -1234; printf("0x%x\n",n+0)}' > > 0x-1234 > >> gawk --version > > GNU Awk 3.1.3 > > Definitely a cygwin port problem. On linux, it does print 0xfffffb2e. > (At least, versions 3.1.0 and 3.1.1 on Linux do - I don't have the > latest version compiled on Linux). > > In either case, the bug report belongs in the cygwin-apps mailing list, > not the cygwin list itself (which is concerned more with the cygwin > platform). > -- > Shankar. Umm, no, this is the correct place for the bug reports. See . Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/