Subject: Re: lib/222: stat(2) returns 0 for path=""
To: None <mycroft@gnu.ai.mit.edu>
From: Peter da Silva <peter@Taronga.COM>
List: netbsd-bugs
Date: 04/10/1994 05:50:12
> The behavior you described is correct.  The null string is considered
> the same as `.', and thus `stat("", ...)' is the same as `stat(".",
> ...)'.  This is not a bug.

Doesn't POSIX discourage this behaviour, for some inscrutible reason? Or
is that just one of those less-than-delightful quirks of System V?

------------------------------------------------------------------------------