On 05/22/2017 03:58 AM, Tim Rühsen wrote:
No, for example on my platform (Fedora 25 x86-64), 'strace cat .' outputs the line 'open(".", O_RDONLY) = 3'.on GNU/Linux open() on a directory returns -1 and sets errno to EISDIR.
On 05/22/2017 03:58 AM, Tim Rühsen wrote:
No, for example on my platform (Fedora 25 x86-64), 'strace cat .' outputs the line 'open(".", O_RDONLY) = 3'.on GNU/Linux open() on a directory returns -1 and sets errno to EISDIR.