Commit cb154426 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(directory_files_internal): Fix a braino.

parent 388ac098
......@@ -251,8 +251,7 @@ directory_files_internal (directory, full, match, nosort, attrs)
directory_nbytes);
if (needsep)
XSTRING (fullname)->data[directory_nbytes + 1]
= DIRECTORY_SEP;
XSTRING (fullname)->data[directory_nbytes] = DIRECTORY_SEP;
bcopy (XSTRING (name)->data,
XSTRING (fullname)->data + directory_nbytes + needsep,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment