Make non-.exe externals work again
commit50cd4fe82e784f5ad749945b1671766ac29422f0
authorAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 19:40:33 +0000 (5 15:40 -0400)
committerAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 20:10:43 +0000 (5 16:10 -0400)
tree09720e131b8136c2f25760214f2f84309da4e3be
parent0f1fadf8c65976691ec219bc6d33816296de92ad
Make non-.exe externals work again

7ebac8cb94f3a06d3fbdde469414a1443ca45510 made launching of .exe
externals work when installed in Unicode paths. But it broke launching
of non-.exe externals, no matter where they were installed. We now
correctly maintain the UTF-8 and UTF-16 paths in tandem in lookup_prog.

This fixes t5526, among others.

Signed-off-by: Adam Roben <adam@roben.org>
compat/mingw.c