tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Use consistent errno for read(2) failure on directories



On Fri, 9 Dec 2011 09:33:54 +0100
Nicolas Joly <njoly%pasteur.fr@localhost> wrote:

> According to the online OpenGroup specification for read(2) available
> at [1], read(2) on directories is implementation dependant. If
> unsupported, it shall fail with EISDIR.

In the case of sys/rump/librump/rumpvfs/rumpfs.c, is it possible that
the underlaying implementation could previously decide if it could
support read(2) on directories, and this would no longer be the case
with this patch?

Thanks,
-- 
Matt


Home | Main Index | Thread Index | Old Index