develooper Front page | perl.perl6.internals | Postings from October 2002

[perl #18139] [PATCH] Yet another sprintf bug

Thread Next
From:
Jürgen" "Bömmels
Date:
October 29, 2002 01:55
Subject:
[perl #18139] [PATCH] Yet another sprintf bug
Message ID:
rt-18139-40710.19.0074572198041@bugs6.perl.org
# New Ticket Created by  Jürgen Bömmels 
# Please include the string:  [perl #18139]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18139 >


Found yet another bug in sprintf: The code insists on prepending at
least one byte 
"%02d", 25 => 025
Attached patch fixes this and supplies a test


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/40710/32812/ee5c7a/sprintf.diff


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About