Fix translation of pathnames with version = :WILD

This commit is contained in:
jjgarcia 2005-08-03 16:53:26 +00:00
parent 4793bb9320
commit 5a7e3dfd80

View file

@ -1456,13 +1456,11 @@ copy_list_wildcards(cl_object *wilds, cl_object to)
out->pathname.type = d;
/* Match version */
if (to->pathname.version == @':wild') {
if (out->pathname.version == @':wild')
out->pathname.version = source->pathname.version;
else
goto error2;
} else {
out->pathname.version = to->pathname.version;
out->pathname.version = to->pathname.version;
if (source->pathname.version == @':wild') {
if (to->pathname.version == @':wild') {
out->pathname.version = from->pathname.version;
}
}
return out;