unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: 48177@debbugs.gnu.org
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	[thread overview]
Message-ID: <CAArVCkSEFsyyMg0pHdf-7QxhfxfDS1Up8yNeCPB5BbiAt7NnEA@mail.gmail.com> (raw)
In-Reply-To: <wvr4pmy8x0u2.fsf@gmail.com>

Am So., 2. Mai 2021 um 23:51 Uhr schrieb Philipp Stephani
<p.stephani2@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"))





  reply	other threads:[~2021-05-02 21:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-02 21:49 bug#48177: 28.0.50; process-file doesn't correctly handle quoted file names for INFILE Philipp Stephani
2021-05-02 21:53 ` Philipp Stephani [this message]
2021-05-02 22:04   ` Philipp Stephani
2021-05-03 13:51     ` Michael Albinus
2021-05-03 13:59       ` Philipp Stephani
2021-05-03 14:05         ` Michael Albinus
2021-05-03 14:54           ` Michael Albinus
2021-05-07 15:31           ` Glenn Morris
2021-05-07 15:34             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAArVCkSEFsyyMg0pHdf-7QxhfxfDS1Up8yNeCPB5BbiAt7NnEA@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=48177@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).