Re: Linux's interpretation of trailing '/'

Simon Kenyon (simon@koala.ie)
Tue, 15 Dec 1998 18:12:06 -0000 (GMT)


On 15-Dec-98 Miquel van Smoorenburg wrote:
>>that's because open on "" is the same as open on "."
>
> Under *BSD, yes. Under Linux, no.
>
> % cat ""
> cat: : No such file or directory
> % cat .
> cat: .: Is a directory

sorry, i was referring to v6
i haven't actually checked
anyway, cat is not a good enough test
what does open(2) do?

--
simon

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/