mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-14 05:12:38 -08:00
Fixed typo in the ordering of drive and path in ecl_homedir_pathname()
This commit is contained in:
parent
37af713c87
commit
a6e095cd7d
1 changed files with 3 additions and 3 deletions
|
|
@ -547,12 +547,12 @@ ecl_homedir_pathname(cl_object user)
|
|||
FEerror("Unknown user ~S.", 1, p);
|
||||
} else if ((h = getenv("HOME"))) {
|
||||
namestring = make_base_string_copy(h);
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) || defined(ming32)
|
||||
} else if ((h = getenv("HOMEPATH")) && (d = getenv("HOMEDRIVE"))) {
|
||||
namestring =
|
||||
si_base_string_concatenate(2,
|
||||
make_constant_base_string(h),
|
||||
make_constant_base_string(d));
|
||||
make_constant_base_string(d),
|
||||
make_constant_base_string(h));
|
||||
#endif
|
||||
} else {
|
||||
namestring = make_constant_base_string("/");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue