aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2013-02-02 19:14:24 +0200
committerEli Zaretskii2013-02-02 19:14:24 +0200
commite7ac588e198385a9bc5a2338000ab6db69c2353c (patch)
treee25696520b4cc48bdf537afb8e9497663bd187b4 /src/ChangeLog
parent85a83ea09dd2440187945ed4bb5f3f6fcebb9a71 (diff)
downloademacs-e7ac588e198385a9bc5a2338000ab6db69c2353c.tar.gz
emacs-e7ac588e198385a9bc5a2338000ab6db69c2353c.zip
Avoid encoding file names run through dostounix_filename on MS-Windows.
src/w32.c (normalize_filename): Accept an additional argument MULTIBYTE; if non-zero, traverse the file name by bytes and don't downcase it even if w32-downcase-file-names is non-nil. (dostounix_filename): Accept an additional argument MULTIBYTE and pass it to normalize_filename. (emacs_root_dir): Adjust. src/msdos.h (dostounix_filename): Adjust prototype. src/w32.h (dostounix_filename): Adjust prototype. src/msdos.c (dostounix_filename): Accept an additional argument and ignore it. (init_environment): Adjust callers of dostounix_filename. src/fileio.c (Ffile_name_directory, file_name_as_directory) (directory_file_name, Fexpand_file_name) (Fsubstitute_in_file_name): [DOS_NT] Adjust call to dostounix_filename. [WINDOWSNT]: Downcase file names if w32-downcase-file-names is non-nil. (Fsubstitute_in_file_name): [DOS_NT] Don't downcase environment variables, as egetenv is case-insensitive for DOS_NT. src/dired.c (file_name_completion): Don't call Fdirectory_file_name with an encoded file name. src/w32proc.c (Fw32_short_file_name, Fw32_long_file_name): Adjust calls to dostounix_filename. src/w32fns.c (Fx_file_dialog): Adjust call to dostounix_filename. src/unexw32.c (unexec): Adjust call to dostounix_filename. src/termcap.c (tgetent) [MSDOS]: Adjust call to dostounix_filename. src/emacs.c (decode_env_path) [DOS_NT]: Adjust call to dostounix_filename. src/callproc.c (Fcall_process) [MSDOS]: Adjust call to dostounix_filename.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 302010ec769..b90f18eba91 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,49 @@
12013-02-02 Eli Zaretskii <eliz@gnu.org> 12013-02-02 Eli Zaretskii <eliz@gnu.org>
2 2
3 Avoid encoding file names on MS-Windows when they need to be run
4 through dostounix_filename.
5 * w32.c (normalize_filename): Accept an additional argument
6 MULTIBYTE; if non-zero, traverse the file name by bytes and don't
7 downcase it even if w32-downcase-file-names is non-nil.
8 (dostounix_filename): Accept an additional argument MULTIBYTE and
9 pass it to normalize_filename.
10 (emacs_root_dir): Adjust.
11
12 * msdos.h (dostounix_filename): Adjust prototype.
13
14 * w32.h (dostounix_filename): Adjust prototype.
15
16 * msdos.c (dostounix_filename): Accept an additional argument and
17 ignore it.
18 (init_environment): Adjust callers of dostounix_filename.
19
20 * fileio.c (Ffile_name_directory, file_name_as_directory)
21 (directory_file_name, Fexpand_file_name)
22 (Fsubstitute_in_file_name): [DOS_NT] Adjust call to
23 dostounix_filename.
24 [WINDOWSNT]: Downcase file names if w32-downcase-file-names is
25 non-nil.
26 (Fsubstitute_in_file_name): [DOS_NT] Don't downcase environment
27 variables, as egetenv is case-insensitive for DOS_NT.
28
29 * dired.c (file_name_completion): Don't call Fdirectory_file_name
30 with an encoded file name.
31
32 * w32proc.c (Fw32_short_file_name, Fw32_long_file_name): Adjust
33 calls to dostounix_filename.
34
35 * w32fns.c (Fx_file_dialog): Adjust call to dostounix_filename.
36
37 * unexw32.c (unexec): Adjust call to dostounix_filename.
38
39 * termcap.c (tgetent) [MSDOS]: Adjust call to dostounix_filename.
40
41 * emacs.c (decode_env_path) [DOS_NT]: Adjust call to
42 dostounix_filename.
43
44 * callproc.c (Fcall_process) [MSDOS]: Adjust call to
45 dostounix_filename.
46
3 * callproc.c (Fcall_process): Make sure program name in PATH and 47 * callproc.c (Fcall_process): Make sure program name in PATH and
4 new_argv[0] is encoded, if needed. Otherwise, un-encoded string 48 new_argv[0] is encoded, if needed. Otherwise, un-encoded string
5 is passed to exec/spawnve, which fails unless the file-name 49 is passed to exec/spawnve, which fails unless the file-name