From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#26013: (srfi srfi-37) chokes on empty string parameter Date: Thu, 20 Apr 2017 10:59:47 +0200 Message-ID: References: <20170307.163454.2259447634066961490.post@thomasdanckaert.be> <87inm0l9be.fsf@igalia.com> <20170419.183229.1069589305335594566.post@thomasdanckaert.be> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492678832 12185 195.159.176.226 (20 Apr 2017 09:00:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Apr 2017 09:00:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: 26013-done@debbugs.gnu.org, ludo@gnu.org To: Thomas Danckaert Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Apr 20 11:00:24 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d17wn-0002oJ-Bp for guile-bugs@m.gmane.org; Thu, 20 Apr 2017 11:00:22 +0200 Original-Received: from localhost ([::1]:52474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d17wr-0001FC-4U for guile-bugs@m.gmane.org; Thu, 20 Apr 2017 05:00:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d17we-00017h-0S for bug-guile@gnu.org; Thu, 20 Apr 2017 05:00:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d17wZ-0007sq-BA for bug-guile@gnu.org; Thu, 20 Apr 2017 05:00:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d17wZ-0007sA-88 for bug-guile@gnu.org; Thu, 20 Apr 2017 05:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d17wY-0002LO-VM for bug-guile@gnu.org; Thu, 20 Apr 2017 05:00:02 -0400 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Thu, 20 Apr 2017 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 26013 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 26013@debbugs.gnu.org, wingo@igalia.com, post@thomasdanckaert.be Original-Received: via spool by 26013-done@debbugs.gnu.org id=D26013.14926788008966 (code D ref 26013); Thu, 20 Apr 2017 09:00:02 +0000 Original-Received: (at 26013-done) by debbugs.gnu.org; 20 Apr 2017 09:00:00 +0000 Original-Received: from localhost ([127.0.0.1]:57917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d17wV-0002KY-OA for submit@debbugs.gnu.org; Thu, 20 Apr 2017 04:59:59 -0400 Original-Received: from pb-sasl2.pobox.com ([64.147.108.67]:61030 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d17wS-0002KP-QD for 26013-done@debbugs.gnu.org; Thu, 20 Apr 2017 04:59:57 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 7CA926356B; Thu, 20 Apr 2017 04:59:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=muxJ6pcxDr/e4h2ioGH62/2CHg4=; b=Cv2Dyn 8wE++JsZlVPdTQAAwXVl7126d+jsPhV0cWdXREC/CYb45P2PSecXvQyTv+zrdmpl NPxMilQk39RgvuGyk6wiKhCOQF5iteTjBIUa3drqPDoJVgLHTYxemfdKHCQzK4b9 MQev42tyjO3lUYqTQCBCekF9r9D940bcFcbg0= Original-Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 644B36356A; Thu, 20 Apr 2017 04:59:56 -0400 (EDT) Original-Received: from clucks (unknown [151.127.12.20]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 6D5AB63569; Thu, 20 Apr 2017 04:59:55 -0400 (EDT) In-Reply-To: <20170419.183229.1069589305335594566.post@thomasdanckaert.be> (Thomas Danckaert's message of "Wed, 19 Apr 2017 18:32:29 +0200 (CEST)") X-Pobox-Relay-ID: B941FCB6-25A7-11E7-A3E1-571C92A0D1B0-02397024!pb-sasl2.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8773 Archived-At: On Wed 19 Apr 2017 18:32, Thomas Danckaert writes: >> On Tue 07 Mar 2017 16:34, Thomas Danckaert >> writes: >> >>> It looks like Guile's srfi-37 implementation doesn't process empty >>> string arguments correctly. > I don't fully understand the code in srfi-37.scm, but I think the fix > can be as simple as the attached patch (i.e. first check if the argument > is empty, otherwise check if it starts with \#-). Applied, thanks :) Andy