From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: [bug #31893] ice-9 format produces control characters and non-printable characters for numeric output Date: Sun, 19 Dec 2010 11:51:43 +0000 Message-ID: <20101219-115143.sv20118.32047@savannah.gnu.org> References: <20101215-155834.sv67324.84770@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: dough.gmane.org 1292759540 12655 80.91.229.12 (19 Dec 2010 11:52:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2010 11:52:20 +0000 (UTC) To: Andy Wingo , "Joel J. Adamson" , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Dec 19 12:52:15 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PUHo1-00066X-2R for guile-bugs@m.gmane.org; Sun, 19 Dec 2010 12:52:15 +0100 Original-Received: from localhost ([127.0.0.1]:50227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUHnt-0007jj-Su for guile-bugs@m.gmane.org; Sun, 19 Dec 2010 06:51:53 -0500 Original-Received: from [140.186.70.92] (port=34501 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUHnk-0007jc-TH for bug-guile@gnu.org; Sun, 19 Dec 2010 06:51:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUHnj-0004Tk-VR for bug-guile@gnu.org; Sun, 19 Dec 2010 06:51:44 -0500 Original-Received: from colonialone.fsf.org ([140.186.70.51]:44787 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUHnj-0004Tg-SX for bug-guile@gnu.org; Sun, 19 Dec 2010 06:51:43 -0500 Original-Received: from [10.1.0.103] (helo=frontend.in.savannah.gnu.org) by internal.in.savannah.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PUHnj-0001bt-PM; Sun, 19 Dec 2010 11:51:43 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1PUHnj-0000Fd-Nr; Sun, 19 Dec 2010 11:51:43 +0000 X-Savane-Server: savannah.gnu.org:443 [10.1.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 31893 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ Epiphany/2.30.2 X-Apparently-From: 90.164.198.39 (Savane authenticated user wingo) In-Reply-To: <20101215-155834.sv67324.84770@savannah.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4922 Archived-At: 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 http://savannah.gnu.org/