[Ecls-list] Bug in user-homedir-pathname under MS-Windows.
Jean-Claude Beaudoin
jean.claude.beaudoin at gmail.com
Tue Mar 10 09:30:16 UTC 2009
Hello,
Here is attached a patch against 8.12 to fix a small bug in function
"user-homedir-pathname" when
ran under MS-Windows. Basically, drive and path were inverted resulting in
a nonsensical
pathname.
In the patch I also set the conditional compilation such that the same
behavior is produced
on MS-Windows that ECL be compiled under MS Visual C or under MingW32/gcc. I
would
like to advocate that a typical MS-Windows user does not want to know by
what tool his instance
of ECL was produced and should not be surprised by what would be to him
inexplicable differences
of behavior. On the top of it, if you wish to maintain "a la Unix" behavior
you can always set
the HOME environment variable and it will have precedence over HOMEDRIVE
HOMEPATH.
Cheers,
Jean-Claude Beaudoin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20090310/8ff96c00/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecl-8.12.0_user_homedir.patch
Type: application/octet-stream
Size: 690 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20090310/8ff96c00/attachment.obj>
More information about the ecl-devel
mailing list