From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#48177: 28.0.50;
process-file doesn't correctly handle quoted file names for INFILE
Date: Sun, 2 May 2021 23:53:58 +0200
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="24299"; mail-complaints-to="usenet@ciao.gmane.io"
To: 48177@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 02 23:55:20 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 1ldK3b-0006De-Uz
for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 23:55:19 +0200
Original-Received: from localhost ([::1]:50132 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1ldK3a-0005fW-OY
for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 17:55:18 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55136)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1ldK3K-0005fO-O1
for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 17:55:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:33425)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1ldK3K-0000oX-GP
for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 17:55:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1ldK3K-0003RI-Ft
for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 17:55:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 02 May 2021 21:55: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.161999245713208
(code B ref 48177); Sun, 02 May 2021 21:55:02 +0000
Original-Received: (at 48177) by debbugs.gnu.org; 2 May 2021 21:54:17 +0000
Original-Received: from localhost ([127.0.0.1]:44969 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1ldK2b-0003Qy-JU
for submit@debbugs.gnu.org; Sun, 02 May 2021 17:54:17 -0400
Original-Received: from mail-oi1-f176.google.com ([209.85.167.176]:39723)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1ldK2Z-0003Qs-8a
for 48177@debbugs.gnu.org; Sun, 02 May 2021 17:54:15 -0400
Original-Received: by mail-oi1-f176.google.com with SMTP id i81so3737099oif.6
for <48177@debbugs.gnu.org>; Sun, 02 May 2021 14:54:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=GxyW/sYyh5yNIa1fYPqOQBvLRJrcvl6uYhngnKJH/E4=;
b=UBuvNXUTTZDrWkE+mP0c7VhB0rsPUK/lCtZs5iTpgj4+AqW9GG22JWKilvxFGZbmT0
4V1jF02VDd6AaSG8HlEiThOv8h9IvhTBFgPhDHBMHul3eZ45smFcAWdunCpTe3GEChNv
rbxHx5yYA6x38IxPcPmk7cQ+NJVXQT6pgp0hSEF+sXBMZt5o/RDNTZt+oHGHXmrfIcw4
XmrIprWxtia3gbw+EZvQw2jjP4PQubfNzx0NcVcg+vRxsN2H/tevekitnwbv697Zm7wR
X3r832b0SO5yBCv5EsnUeeufgFYITL2WhiCQuCSZ8BvvIegnXuCY+zUU3jJV3//pG0rQ
lqwA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=GxyW/sYyh5yNIa1fYPqOQBvLRJrcvl6uYhngnKJH/E4=;
b=aMED6zJejTQFTdWNnToKCsWy/NrtCAhjIeEt/dClpezOhrN8qxpLUY2yIWIJWqyYdY
JanRe0U8GeiPxV9G2omkIQftlWzKWZOsUJXdnFtrOePFz1A+MXaUZsg29yJ7YZr+cj/+
cWff9VC/ALNDYkC59HUiPXCsJQQ+85ZdzUsTMuWgdb0IEc+SM526m+QiNHSvNyQ6Rf2D
a5eEjCQXrrVCX929s/nvESNK4m/0dlAKzfe8IKCumWDDaVjVNHkIaVrphvasASx33Wuo
XmDoHFnvp3g55q8tg4+eVhz+pn5n5fQpTdam7etdfUWS6SvgbQRhses9TDeQOjMNEOJp
6owA==
X-Gm-Message-State: AOAM533+S7aeq/z2kRYDBmEswHfljHZhOL1kpkRLjSwpiAQZlyJzjPEY
h6dbbEkH9TbYuMTc5uOYwkH/6qZBFT8cp57PyCz3iR9Npc4=
X-Google-Smtp-Source: ABdhPJzW3B55dyTOhnl75RQ67AjmkTRMpj8PcUYizg2wCjRG3TSDAs+IK7Y+pjFdvQw142VPooP/MsMan9H2Zdci/Fo=
X-Received: by 2002:a05:6808:20d:: with SMTP id
l13mr11618722oie.158.1619992449262;
Sun, 02 May 2021 14:54:09 -0700 (PDT)
In-Reply-To:
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:205455
Archived-At:
Am So., 2. Mai 2021 um 23:51 Uhr schrieb Philipp Stephani
:
>
>
> Evaluate something like
>
> (process-file "/:/bin/true" "/:/dev/null")
>
> This gives an error
>
> (file-missing "Opening process input file" "No such file or directory" "/:/dev/null")
>
> Other magic filenames for INFILE (such as "/ssh:localhost:/dev/null")
> work as expected. The docstring for `process-file' says that INFILE is
> handled by filename handlers, so I think this should work for quoted
> filenames as well.
>
Same for
(process-file "/:/bin/true" nil '((:file "/:/dev/null") "/dev/null"))