|
From: | Stefan Monnier |
Subject: | bug#13553: 24.3.50; incorrect usage of IS_DIRECTORY_SEP |
Date: | Sat, 26 Jan 2013 05:26:04 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> It is because IS_DIRECTORY_SEP is wrongly used. > IS_DIRECTORY_SEP only works when its argument is surely on a start > byte of dbcs characters. If the file name is properly decoded (i.e. in its multibyte form), there can't be a 0x5c byte other than at the beginning of a char. So this bug can only happens if you pass a unibyte filename. IOW the bug is probably in the caller rather than in the file-attributes function. Please show us the actual situation where this happens, since file names are normally always multibyte. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |