In article <20111209083354.ga2...@lynche.sis.pasteur.fr>, Nicolas Joly <nj...@pasteur.fr> wrote: >-=-=-=-=-=- > > >Hi, > >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. > >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 >this. > >Is it ok to apply ? >Thanks.
Looks good to me. christos