mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-16 06:12:25 -08:00
src/c/pathname.d: use the (APPEND ... NIL) idiom to ensure that a fresh list is produced.
This commit is contained in:
parent
4b38dd326e
commit
b4b2d12f7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue