Subject: Re: bug#48177: 28.0.50; process-file doesn't correctly handle quoted file names for INFILE
From: Michael Albinus <[email-masked]>
To: Philipp Stephani <[email-masked]>
Cc: [email-masked]
Date: Mon, 03 May 2021 16:54:12 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 28.1

Michael Albinus <[email-masked]> writes:

> Philipp Stephani <[email-masked]> 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.

Done, pushed to master. Closing the bug.

Best regards, Michael.