From 5a7e3dfd808cac64856617c38ffccace0663c9a2 Mon Sep 17 00:00:00 2001 From: jjgarcia Date: Wed, 3 Aug 2005 16:53:26 +0000 Subject: [PATCH] Fix translation of pathnames with version = :WILD --- src/c/pathname.d | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/c/pathname.d b/src/c/pathname.d index 48fbce79a..cb54c7c9b 100644 --- a/src/c/pathname.d +++ b/src/c/pathname.d @@ -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;