Author serhiy.storchaka
Recipients BreamoreBoy, ezio.melotti, hynek, markon, o11c, pitrou, r.david.murray, serhiy.storchaka, swarecki, tzimmo
Date 2012-10-24.19:23:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351106602.9.0.769010170372.issue6975@psf.upfronthosting.co.za>
In-reply-to
Content
Previous patches contain redundant code, are not protected from all symlink loops (link -> link/x; dir/link -> ../dir/link) and when a loop is detected the returned result differs from the current one.

The proposed patch solves this issue and some others. Added many new tests.

The test for this issue was simplified:

dir/self -> ../dir
dir/link -> self/self/self
resolve dir/link
History
Date User Action Args
2012-10-24 19:23:23serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, swarecki, ezio.melotti, r.david.murray, markon, BreamoreBoy, hynek, o11c, tzimmo
2012-10-24 19:23:22serhiy.storchakasetmessageid: <1351106602.9.0.769010170372.issue6975@psf.upfronthosting.co.za>
2012-10-24 19:23:22serhiy.storchakalinkissue6975 messages
2012-10-24 19:23:22serhiy.storchakacreate