diff --git a/src/CHANGELOG b/src/CHANGELOG index 1f217e29a..0546a95c8 100755 --- a/src/CHANGELOG +++ b/src/CHANGELOG @@ -11,6 +11,9 @@ ECL 10.3.2: - The tool 'ecl-config' contained unsubstituted values, such as @LDRPATH@ because these variablesls had been renamed in the autoconf file. + - The reimplementation of DIRECTORY introduced a bug in pathnames with ending + double wildcars, such as "/foo/**/". + * Visible changes: - The source location annotator records the original pathnames, not the diff --git a/src/c/unixfsys.d b/src/c/unixfsys.d index 4deff6a1c..7d1bc5b46 100644 --- a/src/c/unixfsys.d +++ b/src/c/unixfsys.d @@ -830,7 +830,7 @@ dir_recursive(cl_object base_dir, cl_object directory, cl_object filemask) * we have to find a file which corresponds to the description. */ if (directory == Cnil) { - return dir_files(base_dir, filemask); + return ecl_nconc(dir_files(base_dir, filemask), output); } /* * 2) We have not yet exhausted the DIRECTORY component of the