I just ran into this bug in Jaunty - perhaps a regression?
Currently in: [ /home/vericgar/gps
]
veric...@eagle $ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
[EMAIL PROTECTED]:~ $ perl -e 'print 2**38, \n;'
274877906944
[EMAIL PROTECTED]:~ $ perl -e 'print unpack(Q, pack(Q, 2**38)),\n;'
274877906944
** Changed in: perl (Ubuntu)
Status: New = Fix Released
--
pack does not support Q, but perl supports 64 bit scalars
Which perl version are you using? Hardy or intrepid? Is there an updated
hardy version available somewhere, so that I can test it as well?
--
pack does not support Q, but perl supports 64 bit scalars
https://bugs.launchpad.net/bugs/83461
You received this bug notification because you are a
Yes, this is still an issue here. Where you not able to reproduce it?
** Changed in: perl (Ubuntu)
Status: Invalid = Confirmed
** Changed in: perl (Ubuntu)
Status: Confirmed = New
--
pack does not support Q, but perl supports 64 bit scalars
https://bugs.launchpad.net/bugs/83461
Thank you for taking the time to report this bug and helping to make
Ubuntu better. You reported this bug a while ago and there hasn't been
any activity in it recently. We were wondering is this still an issue
for you? Can you try with latest Ubuntu release? Thanks in advance.
** Changed in: perl
nokile:~$ perl -e 'print unpack(I, pack(I, 2**38)),\n;'
4294967295
2**38 is not 4294967295 - it's 274877906944
The internal Int size of your perl is 32bits.
I agree tho - Q should work, regardless of what your int size is.
--
pack does not support Q, but perl supports 64 bit scalars
To handle 64 bit ints, Perl would have needed to be configured correctly
to handle it. A perl -V would help to answer that question.
--
pack does not support Q, but perl supports 64 bit scalars
https://bugs.launchpad.net/bugs/83461
You received this bug notification because you are a member of
[0] nokile:~$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.15.7, archname=i486-linux-gnu-thread-multi
uname='linux terranova 2.6.15.7 #1 smp thu jul 12 14:27:56 utc 2007 i686
gnulinux '
config_args='-Dusethreads
nokile:~$ perl -e 'print unpack(I, pack(I, 2**38)),\n;'
4294967295
2**38 is not 4294967295 - it's 274877906944
That's what I'm saying. pack and unpackt don't handle 64 bits.
The internal Int size of your perl is 32bits.
No, that's not true. Look at my first example, it gives the correct