From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#48177: 28.0.50; process-file doesn't correctly handle quoted file names for INFILE Date: Mon, 03 May 2021 16:05:45 +0200 Message-ID: <878s4vap52.fsf@gmx.de> References: <87czu89b7r.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22627"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48177@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 03 16:09:54 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldZGj-0005kJ-GO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 16:09:53 +0200 Original-Received: from localhost ([::1]:46466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldZGi-0006rm-Kl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 10:09:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldZD0-00040W-Vq for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 10:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldZD0-0005pI-Li for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 10:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldZD0-00054T-Gq for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 10:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 May 2021 14:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48177 X-GNU-PR-Package: emacs Original-Received: via spool by 48177-submit@debbugs.gnu.org id=B48177.162005075519480 (code B ref 48177); Mon, 03 May 2021 14:06:02 +0000 Original-Received: (at 48177) by debbugs.gnu.org; 3 May 2021 14:05:55 +0000 Original-Received: from localhost ([127.0.0.1]:46559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldZCt-000548-Cr for submit@debbugs.gnu.org; Mon, 03 May 2021 10:05:55 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:46321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldZCr-000540-47 for 48177@debbugs.gnu.org; Mon, 03 May 2021 10:05:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620050746; bh=UfY6EaRijiPv+sVC+DWONcghrKqaALiStKzXGaHRZSQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=EZJjFrE94o7Aw2EDI7+OpZ5a4elG/skFBZBRV1obZ19UgD8WZg4oaG5Lmqn1gr+c3 LUz1/ghhhmor0atc+gDTsH2Jcx4n4GBmT/lp4JmSOgs5qY5gIYInGLzQSf7XN9SJmw 634ZqcpQSHZhtE1Vv9M+kJVDqNbA0JM9AeL+/M1w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.118.134]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N2DxE-1lYrwq1p8w-013hzO; Mon, 03 May 2021 16:05:46 +0200 In-Reply-To: (Philipp Stephani's message of "Mon, 3 May 2021 15:59:52 +0200") X-Provags-ID: V03:K1:KkcihQF5N1r8pmFMkDvL6phNYYAqxdK1qP9uFFOHwPMhTTCjLcf MqL3hAecHICIl9nEhTSTeEMHC5+poLXwJc0fq1MWpKpqgj2uV6dX7BN6jE1MR8LO0GHU5dl o1WvhtB1/pEbkrP+D310fnkYv6URo8l/Db1naEaAVQrKXHUYb4LNHVFUvMxtROxJkxTAnXy NCm3cCfAiV/LVbHBuUt/g== X-UI-Out-Filterresults: notjunk:1;V03:K0:3QfZOYU7cOw=:YFjrZ+AHLxkfNxo8ERPBGv e9U7pRVaMbzaYEITGheWFxjQcSLA3z2PCxvVRapuTACJ+0yc09bJ2fRWkCNwGlyzuJEsX0cOW 9OKnN1UkcHNxhWwj9e4JwwXZqjskGUWgD9dbzrwErzGSLc+pA/gH5i/PMvjXc9r7i/gec3YKB 8SZFLYTq75JRJFoXQIGJc2qcR2Bg9shiHo0UgiOSoszhNBmUzvFLOTQhWhKYKpW1ZYOS4kJ9y AgXQxhSL0V9GnqNX8Lw2x3PEknb6l1TziUVtc9FSnkOOCr10odzdlDRmAJwvh7ndzAQPJVfIl AT4elTSLvgc3gwo60CeTsuiT2Zsy6ZzjpE6WR0Q+/4i1wEvX8ib8FC3GzhHfyRFTQ1sM07UYP CF6fNigRF8e2t7INfMEzZZwwO0ZgykSVPl5s65afaB6u0VE1BvS2aYpzeUkhTfeVsL4E2rn7B HDZxf/uLgM0Ef0B07Ar4c1BkwUgEnB+oLPTL3TzZmz8w3lEz3qI1UJDw02WLLsoP7oX6jwtDE n01y4YAt9tAGqUQOiTqDMw3k4BNzH6mM8BRTYUVE/70x2YMff6I5TCnA+6AjzVDIdduGynr2W ORnxHojeWRo0ecsgoAZ/txob8TPkQq/sgwYAD1W9spQkwuGmzVZw5gC1ZI4Ggac7lwQtW+20D jprPWN6MsnOFszXWNDwvkLmmjdgt5MBXUo6RY2HSE2NxNCk2zPa9EABYTSzDbeN3emN+gz+tn s+nRaQT84X37WwSqw89nS0B8odDr71UQ0y9PsI/wOoThffc8izU30cvZ5OywN5eiDszQ1q6h X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205514 Archived-At: Philipp Stephani writes: >> >> > (process-file "/:/bin/true" "/:/dev/null") >> >> >> >> Same for >> >> (process-file "/:/bin/true" nil '((:file "/:/dev/null") "/dev/null")) >> > >> > Other forms that I think should work, but fail: >> > >> > (let ((default-directory "/:/usr/")) >> > (process-file "/:/bin/true" nil '(t "/:/dev/null"))) >> > >> > (let ((temporary-file-directory "/:/tmp/")) >> > (process-file "/:/bin/true" nil '(t "/dev/null"))) >> >> The appended patch shall fix this, could you pls test? > > > Yes, thanks! Thanks for the quick confirmation! I will extend files-tests-file-name-non-special--subprocess with your examples, and push everything then to master. Best regards, Michael.