# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #19187]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=19187 >



On Solaris 8, with Sun's Workshop Compiler, using 64-bit long longs as
INTVAL, I get the following test failure in t/src/sprintf.  It looks
like something is getting passed a 64-bit integer quantity but only taking
the first 32-bits (i.e. an int or long) to do the printing.  On i386,
this ends up not mattering since those 32-bits are the significant ones.
A SPARC, however, is the other-endian, so those first 32 bits are all
zeros.  I don't have time to track this down further myself.

t/src/sprintf.......#     Failed test (t/src/sprintf.t at line 9)
#          got: 'C
# Hello, %Parrot!%
# PerlHash[0x100]
# PerlHash[0x100]
# Hello, Pa!
# Hello, Hello, Pa!
# 1 == 1
# -255 == -255
# 256 == 256
# 0.500000 == 0.500000
# 0.500 == 0.500
# 0.001 == 0.001
# 1e+06 == 1e+06
# 0.5 == 0.5
# 0x20 == 0x0
#    25 ==     0
# 25    == 0    |
# 00025 == 00000
# 25 ==  0
# 0xffffffff == 0xffffffff
# -0000001 == -0000001
# That's all, folks!
# '
#     expected: 'C
# Hello, %Parrot!%
# PerlHash[0x100]
# PerlHash[0x100]
# Hello, Pa!
# Hello, Hello, Pa!
# 1 == 1
# -255 == -255
# 256 == 256
# 0.500000 == 0.500000
# 0.500 == 0.500
# 0.001 == 0.001
# 1e+06 == 1e+06
# 0.5 == 0.5
# 0x20 == 0x20
#    25 ==    25
# 25    == 25   |
# 00025 == 00025
# 25 == 25
# 0xffffffff == 0xffffffff
# -0000001 == -0000001
# That's all, folks!
# '
# Looks like you failed 1 tests of 2.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/2 tests, 50.00% okay

-- 
    Andy Dougherty              [EMAIL PROTECTED]



Reply via email to