[Openmcl-devel] CCL::%STAT bug report / feature requests

Scott L. Burson Scott at sympoiesis.com
Sun Jul 4 14:06:28 PDT 2010


Hi,

I happened to notice that CCL::%STAT-VALUES returns the inode number
but not the device, which must be wrong: inode numbers are
device-relative.  In practice, a collision between inode numbers of
files that one is actually looking at at some particular time and that
are on different devices is admittedly unlikely, but it's not
impossible.  Code such as that near the end of
`cocoa-ide/console-window.
lisp' should be comparing both the device and inode.

Meanwhile, it would be nice to have a semi-official, exported function
to get stat information.  Something like this, perhaps:

  (defun stat (name &optional link-p)
     (%stat (namestring name) link-p))

Also, it would be nice to have the atime as well as the mtime (I
suppose someone might want the ctime too, but I don't).

-- Scott



More information about the Openmcl-devel mailing list