On Mon, Apr 20, 2015 at 4:13 PM, Tomas Hlavaty tom@logand.com wrote:
Hi Jean-Claude,
it is not possible to open /dev/urandom:
(with-open-file (s "/dev/urandom" :element-type '(unsigned-byte 8)) (read-byte s))
Filesystem error with pathname: "/dev/urandom". Cannot open file OS Explanation: (errno == 0) Success [Condition of type SI:OS-FILE-ERROR]
but this works:
(with-open-file (s "/etc/passwd" :element-type '(unsigned-byte 8)) (read-byte s))
Yep! It is a bug!
Working on a fix...
Thanks,
JCB