The C (POSIX.1) remove() function is NOT just unlink() in drag.
It's something like this (in perl):

    sub remove ($) {
        if ( !-l $_[0] && -d _ ) {
            rmdir $_[0];
        }
        else {
            unlink $_[0];
        }
    }

In other words, it's rmdir() if its argument is a directory, and
unlink() otherwise.

-- 
Spider Boardman (at home)                     [EMAIL PROTECTED]
The management (my cats) made me say this.    http://www.ultranet.com/~spiderb
PGP public key fingerprint: 96 72 D2 C6 E0 92 32 89  F6 B2 C2 A0 1C AB 1F DC

Reply via email to