Re: silent semantic changes with reiser4

From: Miquel van Smoorenburg
Date: Thu Aug 26 2004 - 17:55:24 EST


In article <57730000.1093554054@flay>,
Martin J. Bligh <mbligh@xxxxxxxxxxx> wrote:
>> On Thu, 26 Aug 2004, Martin J. Bligh wrote:
>>>
>>> What would "test -d" and "test -f" return on these magic beasties? I can't
>>> think of any combinations that wouldn't confuse the crap out of userspace.
>>
>I think what you're saying is that they'd both return positive, right?

test -f file -> true
test -f file/ -> false
test -d file -> false
test -d file/ -> true

Mike.
--
"In times of universal deceit, telling the truth becomes
a revolutionary act." -- George Orwell.

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