[GRASS-dev] Re: [bug #4450] (grass) g.remove vect: empty dirs in the $MAPSET/.tmp/$HOSTNAME left

Hamish hamish_nospam at yahoo.com
Sun Jun 18 20:52:20 EDT 2006


Glynn:
> remove() is ANSI, whereas unlink() and rmdir() are POSIX.


What's our target anyway - ANSI C or POSIX compliance?



fwiw, the debian help page for remove() says:

#include <stdio.h>
CONFORMING TO
       ANSI C, SVID, AT&T, POSIX, X/OPEN, BSD 4.3



while rmdir():

#include <unistd.h>
CONFORMING TO
       SVr4, SVID, POSIX, BSD 4.3




Hamish




More information about the grass-dev mailing list