change dir to //

john wendel jwendel10 at
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>:
>> Well, apparently it's deliberate behavior (not a bug). See this from 2005:
> 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.



More information about the test mailing list