Message309491
I agree that explicitly normalizing in PC/getpathp.c is the correct approach.
As far as I'm aware, GetModuleFileNameW(NULL) can never fail other than a buffer that is too small, so that whole function can probably be simplified to abort if it happens and just remove the PATH search.
Also, we should use a similar process for PathCchCanonicalizeEx as we already use for PathCchCombineExW in this file to avoid failing on earlier OS versions. |
|
Date |
User |
Action |
Args |
2018-01-05 01:44:42 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, zach.ware, eryksun, Ray Donnelly |
2018-01-05 01:44:42 | steve.dower | set | messageid: <1515116682.44.0.467229070634.issue32457@psf.upfronthosting.co.za> |
2018-01-05 01:44:42 | steve.dower | link | issue32457 messages |
2018-01-05 01:44:41 | steve.dower | create | |
|