mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-21 12:03:40 -08:00
By default, use / as directory separator under windows
This commit is contained in:
parent
d76a72edd9
commit
bc6b0c4ea1
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue