![](https://secure.gravatar.com/avatar/c70b326e49493a36b212779db1453909.jpg?s=120&d=mm&r=g)
Hi, Faré <fahree@gmail.com> writes:
The latest ASDF doesn't work well on Windows Vista/7 and Lispworks. LispWorks regards pathnames such as #P"C:/a-dir//anotherdir" as illegal because of the double slashes in it.
I could fix it but it's a really ugly kludge not worth sharing. Anyway, I could understand where the problem lies: asdf is creating pathnames where (pathname-directory some-path) contains empty strings. This happens for output fasl files, that ASDF is placing in
%APPDATA%\common-lisp\<implementation-name>\C\\path\to\source\file
- note the double \\ after the drive letter.
Does it work better if you redefine component-name-to-pathname-components this way?
(defun component-name-to-pathname-components (s &optional force-directory) ... ) Works like a charm, thanks! Will this fix be pushed to the git repository? __ Alessandro
[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ] A nazi deathcamp survivor defined truth as follows: believing it does not increase your chance of dying.