From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: Is string-append broken? Date: Wed, 31 Dec 2003 09:56:17 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87smj174cu.fsf@zagadka.ping.de> References: <3FF22FAA.FD22BC73@veritas.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1072861057 9823 80.91.224.253 (31 Dec 2003 08:57:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2003 08:57:37 +0000 (UTC) Cc: guile development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Dec 31 09:57:31 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AbcAV-0005Z8-00 for ; Wed, 31 Dec 2003 09:57:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Abd7c-00042r-M1 for guile-devel@m.gmane.org; Wed, 31 Dec 2003 04:58:36 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Abd7L-00042Y-28 for guile-devel@gnu.org; Wed, 31 Dec 2003 04:58:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Abd6o-0003x4-9P for guile-devel@gnu.org; Wed, 31 Dec 2003 04:58:18 -0500 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Abd6n-0003wz-TY for guile-devel@gnu.org; Wed, 31 Dec 2003 04:57:46 -0500 Original-Received: from dialin.speedway43.dip237.dokom.de ([195.138.43.237] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 1Abc9n-0000tZ-00 for guile-devel@gnu.org; Wed, 31 Dec 2003 09:56:47 +0100 Original-Received: (qmail 12344 invoked by uid 1000); 31 Dec 2003 08:56:17 -0000 Original-To: Bruce Korb In-Reply-To: <3FF22FAA.FD22BC73@veritas.com> (Bruce Korb's message of "Tue, 30 Dec 2003 18:08:42 -0800") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3150 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3150 Bruce Korb writes: > Why is this code "wrong"? > >> (string-append (c-string (get "name")) ", ") What does this expression evaluate to? I.e., what is printed when you type it it the "guile>" prompt? I get, for example: guile> (define c-str "\"passwd\"") guile> c-str "\"passwd\"" guile> (string-append c-str ", ") "\"passwd\", " guile> which looks correct to me. Maybe 'shellf' is to blame. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel