change dir to //
john wendel
jwendel10 at comcast.net
Mon Jan 17 00:27:16 UTC 2011
On 01/16/2011 04:13 PM, Michał Piotrowski wrote:
> 2011/1/17 Andre Robatino<robatino at fedoraproject.org>:
>> Well, apparently it's deliberate behavior (not a bug). See this from 2005:
>>
>> http://linuxfromscratch.org/pipermail/blfs-support/2005-December/057882.html
>
> Fair enough
>
> at least
> ls /././/./\./\../\/..\/
> works and AFAICS doesn't crash anything.
>
In my job as a programmer, I maintain a very old app that actually
depends on "//" in pathnames behaving the same as "/". The "//" triggers
some special app behavior while still being a valid pathanme when passed
to the kernel filesystem. It works this way on Linux, Solaris, AIX, and
SGI boxes.
Regards,
JOhn
More information about the test
mailing list