Fix equality between #p"~" and (user-homedir-pathname) on Win32.
authorStas Boukarev <stassats@gmail.com>
Wed, 6 Nov 2013 18:39:31 +0000 (22:39 +0400)
committerStas Boukarev <stassats@gmail.com>
Wed, 6 Nov 2013 18:39:31 +0000 (22:39 +0400)
commita129450e9b56cee8e307fc5c320105fe00ba45b7
treeb98022c20b4633d40afa36606db2e3fc8377f782
parent9de65d498a9da0c70a60ea2bf9b5af39aaffe55d
Fix equality between #p"~" and (user-homedir-pathname) on Win32.

Don't use user-homedir-namestring on the windows version of
native-namestring, since the home directory can be specified as
C:/User/user, use (native-namestring (user-homedir-pathname)), which
will get C:\\User\\user\\ instead, making (native-namestring "~/") and
(native-namestring (user-homedir-pathname)) equal.
src/code/win32-pathname.lisp
tests/pathnames.impure.lisp