Re: Portability with USocket
在 2011-5-18,10:39, Terje Norderhaug 写道:
> On May 17, 2011, at 7:06 PM, Chun Tian (binghe) wrote:
>> I think my usage of logical pathname should fall into CL standard (I'm not 100% sure about this, but
apparently it works on most CLs). However, the logical pathname implementation differ between CL
implementations, the ".NEWEST" translation was added for maximum portability, especially needed by
SBCL. [...] I don't know how MCL handle this before, and not sure if MCL's previous behavior obey CL
standard ...
>
> MCL may not have been up to spec when it comes to handling logical pathnames with a version component. I
place no blame on anybody for that oversight though. I don't think the pathname version has been used much
with MCL.
I want to say something about the pathname version:
Versioned File Systems has disappeared from own sight for over 20 years, but the new Mac OS X Lion [1] seems
bring them back: a new file system facility called "Versions":
"Versions records the evolution of a document as you create it. Mac OS X Lion automatically creates a
version of the document each time you open it and every hour while you’re working on it..."
I don't the tech details yet, but Apple should provide some API for accessing old version of a file in current
filesystem, and these old version are just stored in the same disk with latest version. (like a local form
of Apple's Time Machine technology)
Common Lisp is the only software platform which natively support versioned file system, I would like to
push and actually working on bring new features to the standard function PATHNAME-VERSION.
--binghe
(Continue reading)