Re: Gawk printf problem with negative numbers

2003-10-29 Thread Corinna Vinschen
On Wed, Oct 29, 2003 at 09:42:21AM -0500, Ken Shaffer wrote: > The setup thinks I'm up to date. Is there a specific mirror I need to try? No. Just wait. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[E

RE: Gawk printf problem with negative numbers

2003-10-29 Thread Ken Shaffer
The setup thinks I'm up to date. Is there a specific mirror I need to try? -- Ken Shaffer Staff Software Engineer 770-236-3421 [EMAIL PROTECTED] 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

Re: Gawk printf problem with negative numbers

2003-10-29 Thread Corinna Vinschen
On Tue, Oct 28, 2003 at 05:28:23PM -0500, [EMAIL PROTECTED] wrote: Content-Description: Mail message body > I expected the output of a negative 1234 in hex to look like 0xfb2e: > > > echo |gawk '{n = -1234; printf("0x%x\n",n+0)}' > 0x-1234 > > > gawk --version > GNU Awk 3.1.3 > > running u

Re: Gawk printf problem with negative numbers

2003-10-28 Thread Igor Pechtchanski
On Tue, 28 Oct 2003, Shankar Unni wrote: > [EMAIL PROTECTED] 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 0xfb2e. > (At least, versions 3.1.0 and 3.1.1 on Linux do -

Re: Gawk printf problem with negative numbers

2003-10-28 Thread Shankar Unni
[EMAIL PROTECTED] 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 0xfb2e. (At least, versions 3.1.0 and 3.1.1 on Linux do - I don't have the latest version compiled on Linux). In ei

Gawk printf problem with negative numbers

2003-10-28 Thread kenneth . shaffer
I expected the output of a negative 1234 in hex to look like 0xfb2e: > 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. -- Ken Shaff