By default, use / as directory separator under windows

This commit is contained in:
jjgarcia 2004-08-02 08:21:54 +00:00
parent d76a72edd9
commit bc6b0c4ea1

View file

@ -838,10 +838,10 @@ ecl_namestring(cl_object x, int truncate_if_unreadable)
y = CAR(l);
if (y == @':relative') {
if (logical)
writestr_stream(";", buffer);
writec_stream(';', buffer);
} else {
if (!logical)
writestr_stream("/", buffer);
writec_stream(DIR_SEPARATOR, buffer);
}
for (l = CDR(l); !endp(l); l = CDR(l)) {
y = CAR(l);
@ -856,7 +856,7 @@ ecl_namestring(cl_object x, int truncate_if_unreadable)
} else {
FEerror("Directory :back has no namestring representation",0);
}
writestr_stream(logical? ";" : "/", buffer);
writec_stream(logical? ';' : DIR_SEPARATOR, buffer);
}
NO_DIRECTORY:
y = x->pathname.name;