Subject: Re: What should stat("",&fs) return?
To: John Birrell <cimaxp1!jb@melb.werple.net.au>
From: J.T. Conklin <jconklin@netcom.com>
List: current-users
Date: 05/30/1996 07:33:06
> I just came across some code that (because of another bug) tries
> to stat() a null string. And NetBSD (i386 and alpha) returns zero
> from this test:

> OSF/1 and HPUX return -1 with errno = ENOENT. I would have expected
> NetBSD to behave the same way. Am I missing something?

If I remember things correctly, "" is an invalid filename on SysV-ish
systems, but is interpreted as "." on BSD-ish systems.

	--jtc