[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Mintlib bug (?): rmdir delets symlinks to nonempty directories



Ole <ole@monochrom.net> writes:

> While linux rmdir(symlink) follows the symlink

No, it doesn't.  That would violate POSIX, which mandates that rmdir
fails with ENOTDIR when called on a symlink.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."