[armedbear-devel] #P serialization across Windows/non-Windows

Mark Evenson evenson at panix.com
Fri Jul 2 11:11:24 UTC 2010


Attached is a patch that (partially) normalizes the Pathname
namestring across all platforms to only contain '/' characters as
the directory separators, which is my preferred way to solve the
portability problem for pathname serialization.  Feeding '\' separated
paths to Pathname still seems to work.

This work needs:

1.  Agreement from others (Alessio, Erik?) that this is the "right"
way to solve the problem

2.  The MAKE-LOAD-FORM seems to be dumping the Windows version of
the path, which means the code is not finished.

3.  A convenience function to return the '\' separated form for use
under Windows.

--
"A screaming comes across the sky.  It has happened before, but there is nothing to compare to it now."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: abcl-namestring.diff
Type: application/octet-stream
Size: 4906 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100702/cdee4fad/attachment.obj>
-------------- next part --------------







More information about the armedbear-devel mailing list