This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Ray Donnelly, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-01-05.09:25:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515144346.33.0.467229070634.issue32457@psf.upfronthosting.co.za>
In-reply-to
Content
For extra measure, you may want to normalize `prefix` prior to calculating its length n in gotlandmark(). Then it would be reliable to truncate it via `prefix[n] = '\0'` after joining with `landmark`. Or at least add a comment there or in the calling function, search_for_prefix(), that gotlandmark assumes the current value of `prefix` is a canonical, normalized path.
History
Date User Action Args
2018-01-05 09:25:46eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, Ray Donnelly
2018-01-05 09:25:46eryksunsetmessageid: <1515144346.33.0.467229070634.issue32457@psf.upfronthosting.co.za>
2018-01-05 09:25:46eryksunlinkissue32457 messages
2018-01-05 09:25:46eryksuncreate