[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #31893] ice-9 format produces control characters and non-printable
[bug #31893] ice-9 format produces control characters and non-printable characters for numeric output
Sun, 19 Dec 2010 11:51:43 +0000
Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ Epiphany/2.30.2
Follow-up Comment #1, bug #31893 (project guile):
Very interesting! We can make the test case shorter:
> (format #f "~9,8,,,0g" 0.001)
$1 = "x00x00x00x00x00x00x00x00x00"
I think the x00 bytes are because of the recent make-string change
(3ef6650def28f7c29a2cc983086468d3195167d4). The control chars you were seeing
previously were just random bytes from memory (!), whatever was there before
make-string was called.
I'm on it!
Reply to this item at:
Message sent via/by Savannah