touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #117832
[Bug 1159933] Re: mawk %d maxes out at 0x7FFFFFFF instead of 0xFFFFFFFF
mawk in Ubuntu and Debian is 18 years, see LP bug #1332114
I think this bug should be marked as duplicate of bug #1332114
Many bugs of Mawk are fixed in a new upstream versions 1.3.4-2010nnnn-2015nnnn, but the Debian maintainer does not want to update for an obscure reason.
We need to push here: http://bugs.debian.org/554167
** Bug watch added: Debian Bug tracker #554167
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554167
** Also affects: mawk (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554167
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mawk in Ubuntu.
https://bugs.launchpad.net/bugs/1159933
Title:
mawk %d maxes out at 0x7FFFFFFF instead of 0xFFFFFFFF
Status in mawk package in Ubuntu:
Confirmed
Status in mawk package in Debian:
Unknown
Bug description:
I'm honestly not sure if this is a bug or just an implementation
decision, but it's different than gawk or original-awk, so I'm
reporting it. This caused problems for coreboot which is using awk to
calculate addresses up at the 0xFFFXXXXX range. We worked around it
by using %.0f to print the values.
using the test:
printf %u 0xFFFFFFFF | awk '{printf("%.0f %u %d", $1 , $1 , $1 )}'
mawk:
4294967295 2147483647 2147483647
original-awk:
4294967295 2147483648 4294967295
gawk:
4294967295 4294967295 4294967295
I'm using ubuntu 12.04.02 LTS, and mawk 1.3.3-17.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/1159933/+subscriptions