Message309495
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. |
|
Date |
User |
Action |
Args |
2018-01-05 09:25:46 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower, Ray Donnelly |
2018-01-05 09:25:46 | eryksun | set | messageid: <1515144346.33.0.467229070634.issue32457@psf.upfronthosting.co.za> |
2018-01-05 09:25:46 | eryksun | link | issue32457 messages |
2018-01-05 09:25:46 | eryksun | create | |
|