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

Attila Lendvai attila.lendvai at gmail.com
Mon Oct 4 23:44:37 UTC 2010


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...

-- 
 attila




More information about the iolib-devel mailing list