On Fri, 5 Mar 2004, Frederik Fouvry wrote:

>
> ,-- On Wed, 3 Mar, Bob Friesenhahn wrote:
>
> [...]
>
> | It is not always easy to see if a directory is empty. For example,
> | when NFS is being used, sometimes .nfs files are created in the
> | directories, so the directory is not really empty.
>
> Won't remove commands refuse to clean up a directory if it's not
> empty?

The ANSI C remove() function removes non-empty directories under
Linux. :-)

On the other hand, the unlink() system call does not remove non-empty
directories.

Since Automake is multi-platform, it is wise to verify that all
supported platforms can support safe directory removal semantics.

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen



Reply via email to