Subject: Re: What should stat("",&fs) return?
To: Chris G Demetriou <Chris_G_Demetriou@UX2.SP.CS.CMU.EDU>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: current-users
Date: 05/31/1996 11:32:43
> 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.
How about accepting `/some//dir' as equivalent to `/some/dir'. From a
purist's point of view, it should also be rejected with ENOENT at the
point where you would have to interpret the "" between the slashes
as ".".
-pk