[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Use consistent errno for read(2) failure on directories
In article <20111209083354.GA2999%lynche.sis.pasteur.fr@localhost>,
Nicolas Joly <njoly%pasteur.fr@localhost> wrote:
>According to the online OpenGroup specification for read(2) available
>at , read(2) on directories is implementation dependant. If
>unsupported, it shall fail with EISDIR.
>Not all our file systems comply, and return random errno values in
>this case (mostly EINVAL or ENOTSUP).
>The attached patch fix some of them (the ones i have access to),
>adjust the man page accordingly and add a small testcase to exercize
>Is it ok to apply ?
Looks good to me.
Main Index |
Thread Index |