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

Glynn Clements glynn at gclements.plus.com
Mon Jun 19 01:52:08 EDT 2006


Hamish wrote:

> > remove() is ANSI, whereas unlink() and rmdir() are POSIX.
> 
> What's our target anyway - ANSI C or POSIX compliance?

ANSI where possible (and practical), POSIX where necessary.

Note that ANSI C's I/O functionality is inadequate for non-trivial
programs, e.g. it doesn't say anything about directories (a system
doesn't even have to /have/ directories to fully implemement ANSI C).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list