Re: remove() vs. directories

2009-11-20 Thread Petr Salinger
Debian bug report: . Actually, the same change is needed for the Hurd; we also do return EPERM for unlink("[directory]"). Roland, what's your preference to fix this? IMO, the really proper fix would be to use variant with EPERM only in sysdeps/posix/remove.c and

remove() vs. directories

2009-11-20 Thread Thomas Schwinge
Hello! | kfreebsd/local-sysdeps.diff: update - remove() with POSIX conforming variant of unlink() | | [...] | --- /dev/null | b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/remove.c | +@@ -0,0 +1,40 @@ | ++/* ANSI C `remove' function to delete a file or directory. POSIX.1 version. | ++ Copyr