aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2013-12-12 12:07:40 -0800
committerPaul Eggert2013-12-12 12:07:40 -0800
commit32e93c9e89c603462c230e10f46c525eb392e668 (patch)
tree42eaed9aa652bcdd20a22ca9a3dfd428bc6adb58 /src
parentcb3a1380602b81aebf2217a2800ae1c326cb263b (diff)
downloademacs-32e93c9e89c603462c230e10f46c525eb392e668.tar.gz
emacs-32e93c9e89c603462c230e10f46c525eb392e668.zip
Spelling fixes.
Diffstat (limited to 'src')
-rw-r--r--src/w32.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32.c b/src/w32.c
index bff0e53e8c8..e5488642118 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -1344,7 +1344,7 @@ w32_valid_pointer_p (void *p, int size)
1344 1344
1345 More generally, passing to library functions (e.g., fopen or 1345 More generally, passing to library functions (e.g., fopen or
1346 opendir) file names already encoded in the ANSI codepage is 1346 opendir) file names already encoded in the ANSI codepage is
1347 explictly *verboten*, as all those functions, as shadowed and 1347 explicitly *verboten*, as all those functions, as shadowed and
1348 emulated here, assume they will receive UTF-8 encoded file names. 1348 emulated here, assume they will receive UTF-8 encoded file names.
1349 1349
1350 For the same reasons, no CRT function or Win32 API can be called 1350 For the same reasons, no CRT function or Win32 API can be called
@@ -1371,7 +1371,7 @@ w32_valid_pointer_p (void *p, int size)
1371 . Running subprocesses in non-ASCII directories and with non-ASCII 1371 . Running subprocesses in non-ASCII directories and with non-ASCII
1372 file arguments is limited to the current codepage (even though 1372 file arguments is limited to the current codepage (even though
1373 Emacs is perfectly capable of finding an executable program file 1373 Emacs is perfectly capable of finding an executable program file
1374 even in a directory whose name cannot be encoded in the curreent 1374 even in a directory whose name cannot be encoded in the current
1375 codepage). This is because the command-line arguments are 1375 codepage). This is because the command-line arguments are
1376 encoded _before_ they get to the w32-specific level, and the 1376 encoded _before_ they get to the w32-specific level, and the
1377 encoding is not known in advance (it doesn't have to be the 1377 encoding is not known in advance (it doesn't have to be the
@@ -4887,7 +4887,7 @@ stat_worker (const char * path, struct stat * buf, int follow_symlinks)
4887 && !(is_a_symlink && follow_symlinks) 4887 && !(is_a_symlink && follow_symlinks)
4888 /* The 2 file-name comparisons below support only ASCII 4888 /* The 2 file-name comparisons below support only ASCII
4889 characters, and will lose (compare not equal) when 4889 characters, and will lose (compare not equal) when
4890 the file names include non-ASCII charcaters that are 4890 the file names include non-ASCII characters that are
4891 the same but for the case. However, doing this 4891 the same but for the case. However, doing this
4892 properly involves: (a) converting both file names to 4892 properly involves: (a) converting both file names to
4893 UTF-16, (b) lower-casing both names using CharLowerW, 4893 UTF-16, (b) lower-casing both names using CharLowerW,
@@ -4921,7 +4921,7 @@ stat_worker (const char * path, struct stat * buf, int follow_symlinks)
4921 /* If NAME includes characters not representable by 4921 /* If NAME includes characters not representable by
4922 the current ANSI codepage, filename_to_ansi 4922 the current ANSI codepage, filename_to_ansi
4923 usually replaces them with a '?'. We don't want 4923 usually replaces them with a '?'. We don't want
4924 to let FindFirstFileA interpret those as widlcards, 4924 to let FindFirstFileA interpret those as wildcards,
4925 and "succeed", returning us data from some random 4925 and "succeed", returning us data from some random
4926 file in the same directory. */ 4926 file in the same directory. */
4927 if (_mbspbrk (name_a, "?")) 4927 if (_mbspbrk (name_a, "?"))