Make non-.exe externals work again
commit75036e7e9c3a5e6dc7b271fd5ed577c3d6630a10
authorAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 19:40:33 +0000 (5 15:40 -0400)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 10 Apr 2014 18:53:35 +0000 (10 13:53 -0500)
treeeb21d1398f6dd5bc2a601e140d97dc44455e4d6d
parent216ebe76f2d61b31fb8a46c2c1764b11ef82e579
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