Re: `rmdir .` doesn't work in 2.4

Bernhard Rosenkraenzer
2001-01-11T18:57:33Z

On Mon, 8 Jan 2001, Benson Chow wrote:

> Not very portable at all...
>
> hpux = HP/UX 10.2
>
> hpux:~/foo$ rmdir .
> rmdir: cannot remove .. or .

Same on FreeBSD, by the way

bash-2.04# uname -a
FreeBSD freebsd.redhat.de 5.0-20001112-CURRENT FreeBSD 5.0-20001112-CURRENT
#0: Sun Nov 12 14:04:55 GMT 2000 root@usw2.freebsd.org:/usr/src/sys/compile/BERO i386
bash-2.04# mkdir test
bash-2.04# cd test
bash-2.04# rmdir .
rmdir: .: Invalid argument

LLaP
bero