diff options
| author | Eli Zaretskii | 2013-02-01 12:15:36 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-02-01 12:15:36 +0200 |
| commit | e7c3fb0624a88210f3a95adb103eba274b0fdba7 (patch) | |
| tree | 28687fc2f236f4d4a369ebe8376892d3c69ff241 /src/ChangeLog | |
| parent | 18a80473ed3fd815d99e64a8e7392066125a7e3c (diff) | |
| download | emacs-e7c3fb0624a88210f3a95adb103eba274b0fdba7.tar.gz emacs-e7c3fb0624a88210f3a95adb103eba274b0fdba7.zip | |
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.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e80458c172f..d09ad50ba12 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2013-02-01 Eli Zaretskii <eliz@gnu.org> | 1 | 2013-02-01 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * callproc.c (Fcall_process): Make sure program name in PATH and | ||
| 4 | new_argv[0] is encoded, if needed. Otherwise, un-encoded string | ||
| 5 | is passed to exec/spawnve, which fails unless the file-name | ||
| 6 | encoding is UTF-8. | ||
| 7 | |||
| 3 | * w32proc.c (sys_spawnve): Make sure escape_char is initialized, | 8 | * w32proc.c (sys_spawnve): Make sure escape_char is initialized, |
| 4 | even if w32-quote-process-args is nil. | 9 | even if w32-quote-process-args is nil. |
| 5 | 10 | ||