[iolib-devel] bug report: Unknown file mode: 890000.

Stelian Ionescu sionescu at cddr.org
Tue Oct 5 02:22:06 UTC 2010


On Tue, 2010-10-05 at 01:44 +0200, Attila Lendvai wrote:
> err, the same happens with a file that exists:
> 
> (iolib.os:file-exists-p (iolib.pathnames:file-path "/etc/hostname"))
> 
> this is on a recent Ubuntu x86_64:
> 
> Linux ed101 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC
> 2010 x86_64 GNU/Linux
> 
> more anomalies related to dirs and regular files:
> 
> TEST> (iolib.os:file-exists-p "/tmp")
> #/p/"/tmp"
> :REGULAR-FILE
> 
> i think it's because either the grovelled value of s-ifmt, or
> isys:s-ifreg is wrong:
> 
> (cl:defconstant s-ifmt 61440 "bitmask for type of entry")
> (cl:defconstant s-ifreg 32768 "regular file")
> 
> this should come from libfixposix? but it's not ported there yet?
> 
> when can i expect a fix for this? i've started to port the file
> serving code of hu.dwim.wui to iolib and now it's halfway stuck on
> this problem...

I confirm that I can reproduce the bug and I'll work on it as soon as
possible. Until then, you could use the latest release

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/iolib-devel/attachments/20101005/50ac1f3c/attachment.sig>


More information about the iolib-devel mailing list