On Tue, Jul 12, 2016 at 9:19 AM, Todd C. Miller <[email protected]> wrote:
> Do you know what other systems return EISDIR for read(2) of a
> directory?
>
Linux:
>>> os.open("/", 0)
3
>>> os.read(3, 1024)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 21] Is a directory
>
> - todd
>
>
--
Tim Newsham | www.thenewsh.com/~newsham | @newshtwit | thenewsh.blogspot.com
