On 9/18/20 4:15 PM, Philip Rowlands wrote:
$ mkdir /tmp/abc
$ cd /tmp/abc
$ rmdir /tmp/abc
$ ls
What happened:
no output, successful exit status
What was expected:
no output, unsuccessful exit status
POSIX says that the rmdir command is supposed to behave like the rmdir syscall.
For the
On 19/09/2020 00:15, Philip Rowlands wrote:
Steps to reproduce:
$ mkdir /tmp/abc
$ cd /tmp/abc
$ rmdir /tmp/abc
$ ls
What happened:
no output, successful exit status
What was expected:
no output, unsuccessful exit status
ls tried to list the contents of . but failed to do so, at least on
Steps to reproduce:
$ mkdir /tmp/abc
$ cd /tmp/abc
$ rmdir /tmp/abc
$ ls
What happened:
no output, successful exit status
What was expected:
no output, unsuccessful exit status
ls tried to list the contents of . but failed to do so, at least on Linux:
open(".",