diff options
| author | Eli Zaretskii | 2013-01-23 18:11:04 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-01-23 18:11:04 +0200 |
| commit | 6d2851de77e7828218bec1bd57779277fa80e129 (patch) | |
| tree | e458f57efaff94b64dbdb44293c7246f4ae56698 /src/ChangeLog | |
| parent | 4d4ddaa78c15716a93f790b11e9879d73db5e7d9 (diff) | |
| download | emacs-6d2851de77e7828218bec1bd57779277fa80e129.tar.gz emacs-6d2851de77e7828218bec1bd57779277fa80e129.zip | |
Fix bug #13515 with processing DBCS file names on MS-Windows.
src/w32.c (max_filename_mbslen): New function.
(normalize_filename, readdir): Use it to detect locales where ANSI
encoding of file names uses a double-byte character set (DBCS).
If a DBCS encoding is used, advance by characters using
CharNextExA, instead of incrementing a 'char *' pointer. Use
_mbslwr instead of _strlwr.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e7ab13311e1..e9c4fe0c50e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2013-01-23 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32.c (max_filename_mbslen): New function. | ||
| 4 | (normalize_filename, readdir): Use it to detect locales where ANSI | ||
| 5 | encoding of file names uses a double-byte character set (DBCS). | ||
| 6 | If a DBCS encoding is used, advance by characters using | ||
| 7 | CharNextExA, instead of incrementing a 'char *' pointer. Use | ||
| 8 | _mbslwr instead of _strlwr. (Bug#13515) | ||
| 9 | |||
| 1 | 2013-01-22 Eli Zaretskii <eliz@gnu.org> | 10 | 2013-01-22 Eli Zaretskii <eliz@gnu.org> |
| 2 | 11 | ||
| 3 | * w32heap.c (allocate_heap) [!_WIN64]: Decrease the initial | 12 | * w32heap.c (allocate_heap) [!_WIN64]: Decrease the initial |