• Jim Porter's avatar
    Ensure 'call-process' interprets INFILE as a local path · 2f2afa0b
    Jim Porter authored
    * 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).
    2f2afa0b
sysdep.c 115 KB