From 8fc91a858fc7d5848e1ee3375283bb160e4e439e Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 3 Mar 1998 01:29:16 +0000 Subject: [PATCH] (Ffile_name_nondirectory): Use size_byte member of XSTRING (filename). --- src/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2