1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00

(Ffile_name_nondirectory): Use size_byte member of

XSTRING (filename).
This commit is contained in:
Kenichi Handa 1998-03-03 01:29:16 +00:00
parent 2cef5737de
commit 8fc91a858f

View File

@ -436,7 +436,7 @@ or the entire name if it contains no slash.")
return call2 (handler, Qfile_name_nondirectory, filename);
beg = XSTRING (filename)->data;
end = p = beg + XSTRING (filename)->size;
end = p = beg + XSTRING (filename)->size_byte;
while (p != beg && !IS_DIRECTORY_SEP (p[-1])
#ifdef VMS