[Ecls-list] Another logical-pathname case problem.

Pascal J. Bourguignon pjb at informatimago.com
Tue Jun 29 20:58:43 UTC 2010


Logical pathname translations may translate to logical pathnames or to
physical pathnames.

When they translate to a physical pathname, case is correctly
converted to the native lowcase.

But when they translate to a logical pathname, they're not.   (There
may be a string of translations required before ending with a physical
pathname).


CL-USER> (values (logical-pathname-translations "LIBCL")
                 (translate-logical-pathname #P"LIBCL:AAA;BBB;CCC.DDD")
                 (logical-pathname-translations "PROJECT")        
                 (translate-logical-pathname #P"PROJECT:AAA;BBB;CCC.DDD"))
((#P"LIBCL:**;*.*"
  #P"/home/pjb/firms/medicalis/src/mdi/subprojects/dependencies/lisp/libcl/**/*.*")
 (#P"LIBCL:**;*"
  #P"/home/pjb/firms/medicalis/src/mdi/subprojects/dependencies/lisp/libcl/**/*.lisp"))
#P"/home/pjb/firms/medicalis/src/mdi/subprojects/dependencies/lisp/libcl/aaa/bbb/ccc.ddd"
((#P"PROJECT:**;*.*" #P"HOME:FIRMS;MEDICALIS;SRC;MDI;**;*.*")
 (#P"PROJECT:**;*" #P"HOME:FIRMS;MEDICALIS;SRC;MDI;**;*"))
#P"/home/pjb/firms/medicalis/src/mdi/AAA/BBB/CCC.DDD"

I expected #P"/home/pjb/firms/medicalis/src/mdi/aaa/bbb/ccc.ddd" for the last result.



-- 
__Pascal Bourguignon__                     http://www.informatimago.com/





More information about the ecl-devel mailing list