]> git.eshelyaron.com Git - emacs.git/commit
Ensure 'call-process' interprets INFILE as a local path
authorJim Porter <jporterbugs@gmail.com>
Sun, 4 Jul 2021 13:32:03 +0000 (15:32 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 4 Jul 2021 13:32:03 +0000 (15:32 +0200)
commit2f2afa0b310bbce43a8703f5467b2638082abdd9
treedee76d7ecf541721635f7e9195e6e38960006c12
parent46d4ddd1767284e8a42b01e7880c2658c5957ab1
Ensure 'call-process' interprets INFILE as a local path

* src/callproc.c (get_current_directory): Rename from
'encode_current_directory' and add boolean ENCODE flag.
(Fcall_process): Interpret INFILE relative to the working directory
from which PROGRAM is run, not 'default-directory'.
(call_process): Use 'get_current_directory'.
* src/process.c (Fmake_process): Use 'get_current_directory'.
* src/process.h (get_current_directory): Rename decl from
'encode_current_directory'.
* src/sysdep.c (sys_subshell): Use 'get_current_directory' (bug#49283).
src/callproc.c
src/process.c
src/process.h
src/sysdep.c