[Ecls-list] Fwd: Bug in user-homedir-pathname under MS-Windows.

Jean-Claude Beaudoin jean.claude.beaudoin at gmail.com
Tue Mar 24 21:22:06 UTC 2009

For some strange reason it looks like the following message ended-up in the
bit bucket.
So here it is again in case you missed it.


Jean-Claude Beaudoin

---------- Forwarded message ----------
From: Jean-Claude Beaudoin <jean.claude.beaudoin at gmail.com>
Date: Tue, Mar 10, 2009 at 5:30 AM
Subject: Bug in user-homedir-pathname under MS-Windows.
To: ecls-list <ecls-list at lists.sourceforge.net>


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

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
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


Jean-Claude Beaudoin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20090324/3c2be2d2/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/20090324/3c2be2d2/attachment.obj>

More information about the ecl-devel mailing list