unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 48177@debbugs.gnu.org
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	[thread overview]
Message-ID: <878s4vap52.fsf@gmx.de> (raw)
In-Reply-To: <CAArVCkQM3BM=cwA861De7ZyCg3noU7qXWPzgwJegptvzq3TLTQ@mail.gmail.com> (Philipp Stephani's message of "Mon, 3 May 2021 15:59:52 +0200")

Philipp Stephani <p.stephani2@gmail.com> 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.





  reply	other threads:[~2021-05-03 14:05 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
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 [this message]
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=878s4vap52.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=48177@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /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).