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


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 48177 <at> 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
Philipp Stephani <p.stephani2 <at> 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.




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.