src/c/pathname.d: use the (APPEND ... NIL) idiom to ensure that a fresh list is produced.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-11-14 17:35:42 +01:00
parent 4b38dd326e
commit b4b2d12f7e

View file

@ -834,7 +834,7 @@ ecl_merge_pathnames(cl_object path, cl_object defaults, cl_object default_versio
directory = path->pathname.directory;
else if (!Null(defaults->pathname.directory))
directory = ecl_append(defaults->pathname.directory,
CDR(path->pathname.directory));
CDR(path->pathname.directory));
else
directory = path->pathname.directory;
if (Null(name = path->pathname.name))