From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#25803: guile-snarf now fails when passed arguments contains whitespace Date: Fri, 21 Apr 2017 17:00:54 +0200 Message-ID: <87d1c524bd.fsf@gnu.org> References: <20170219223639.61a78924@sf> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1492786930 10625 195.159.176.226 (21 Apr 2017 15:02:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Apr 2017 15:02:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: 25803@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Apr 21 17:02:06 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 1d1a4T-0002em-RB for guile-bugs@m.gmane.org; Fri, 21 Apr 2017 17:02:05 +0200 Original-Received: from localhost ([::1]:60081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1a4Z-00017d-Ov for guile-bugs@m.gmane.org; Fri, 21 Apr 2017 11:02:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1a4U-00017X-14 for bug-guile@gnu.org; Fri, 21 Apr 2017 11:02:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1a4Q-0007sw-4L for bug-guile@gnu.org; Fri, 21 Apr 2017 11:02:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1a4Q-0007sr-1R for bug-guile@gnu.org; Fri, 21 Apr 2017 11:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d1a4P-00023A-Q6 for bug-guile@gnu.org; Fri, 21 Apr 2017 11:02:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20170219223639.61a78924@sf> Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 21 Apr 2017 15:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25803 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 25803-submit@debbugs.gnu.org id=B25803.14927868685435 (code B ref 25803); Fri, 21 Apr 2017 15:02:01 +0000 Original-Received: (at 25803) by debbugs.gnu.org; 21 Apr 2017 15:01:08 +0000 Original-Received: from localhost ([127.0.0.1]:60982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1a3X-0001PT-QS for submit@debbugs.gnu.org; Fri, 21 Apr 2017 11:01:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1a3W-0001JJ-Gc for 25803@debbugs.gnu.org; Fri, 21 Apr 2017 11:01:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1a3N-0007St-Ft for 25803@debbugs.gnu.org; Fri, 21 Apr 2017 11:01:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1a3M-0007Sj-TE for 25803@debbugs.gnu.org; Fri, 21 Apr 2017 11:00:57 -0400 Original-Received: from [193.50.110.185] (port=53324 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d1a3M-0000yJ-CA for 25803@debbugs.gnu.org; Fri, 21 Apr 2017 11:00:56 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?UTF-8?Q?Flor=C3=A9al?= an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:8776 Archived-At: Hello, Commit f775ab3654357fcaad294b95efb0b1c16de1eda8 (=E2=80=9Cguile-snarf: skip= -g* arguments to avoid build failure=E2=80=9D) broke guile-snarf when passed arguments with whitespace, as in: guile-snarf -o auth.x auth.c -DPACKAGE_STRING=3D\"Guile-SSH\ 0.10.2\" =E2= =80=A6 The breakage comes from the fact that arguments are accumulated in a string, in the =E2=80=98cpp_args=E2=80=99 variable, so the shell loses info= rmation about word separation. Besides, filtering out =E2=80=98-g=E2=80=99 arguments seems dubious. WDYT? Ludo=E2=80=99.