From: Kenichi Handa Date: Tue, 3 Mar 1998 01:29:16 +0000 (+0000) Subject: (Ffile_name_nondirectory): Use size_byte member of X-Git-Tag: emacs-20.3~2044 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8fc91a858fc7d5848e1ee3375283bb160e4e439e;p=emacs.git (Ffile_name_nondirectory): Use size_byte member of XSTRING (filename). --- diff --git a/src/fileio.c b/src/fileio.c index 6c6e073ca47..4f0fcd18bac 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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