GNU bug report logs - #48177
28.0.50; process-file doesn't correctly handle quoted file names for INFILE

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Sun, 2 May 2021 21:51:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 48177 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: 48177 <at> debbugs.gnu.org
Subject: Re: 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
Am So., 2. Mai 2021 um 23:51 Uhr schrieb Philipp Stephani
<p.stephani2 <at> gmail.com>:
>
>
> 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"))




This bug report was last modified 4 years and 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.