Subject: Re: What should stat("",&fs) return?
To: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
From: Todd C. Miller <Todd.Miller@cs.colorado.edu>
List: current-users
Date: 05/30/1996 22:21:13
In message <16841.833487495@UX2.SP.CS.CMU.EDU>
	so spake Chris G Demetriou (Chris_G_Demetriou):

> That make me think that they did not, in fact, argue for it, which in
> turn leads me to wonder if the traditional BSD acceptance of "" was
> just a minor coding bug to begin with.

Actually, it seems likely that it was done to be more compatible
with /bin/sh's treating "" as ".".  That way, if you strtok() through
$PATH you'll treat "" as "." like /bin/sh does, which does make some
amount of sense :-)

Regardless, it makes sense to bow to POSIX in this.

 - todd