HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
565f08c
)
(Fread_file_name_internal): Use SBYTES (not SCHARS) to
author
Kenichi Handa
<handa@m17n.org>
Mon, 20 Nov 2006 12:14:46 +0000
(12:14 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 20 Nov 2006 12:14:46 +0000
(12:14 +0000)
check the tailing slash of a filename.
src/fileio.c
patch
|
blob
|
blame
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index
fa7a2d0
..
37afd37
100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-6202,7
+6202,7
@@
DEFUN ("read-file-name-internal", Fread_file_name_internal, Sread_file_name_inte
Lisp_Object tem = XCAR (all);
int len;
if (STRINGP (tem) &&
- (len = S
CHAR
S (tem), len > 0) &&
+ (len = S
BYTE
S (tem), len > 0) &&
IS_DIRECTORY_SEP (SREF (tem, len-1)))
comp = Fcons (tem, comp);
}