]> git.eshelyaron.com Git - emacs.git/commit
Make sure program names are encoded before using them to invoke subprocesses.
authorEli Zaretskii <eliz@gnu.org>
Fri, 1 Feb 2013 10:15:36 +0000 (12:15 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Feb 2013 10:15:36 +0000 (12:15 +0200)
commite7c3fb0624a88210f3a95adb103eba274b0fdba7
tree28687fc2f236f4d4a369ebe8376892d3c69ff241
parent18a80473ed3fd815d99e64a8e7392066125a7e3c
Make sure program names are encoded before using them to invoke subprocesses.

 src/callproc.c (Fcall_process): Make sure program name in PATH and
 new_argv[0] is encoded, if needed.  Otherwise, un-encoded string
 is passed to exec/spawnve, which fails unless the file-name
 encoding is UTF-8.
src/ChangeLog
src/callproc.c