Make non-.exe externals work again
commit3b8185cfd15106001cc5c1d31b6432de714f48f1
authorAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 19:40:33 +0000 (5 15:40 -0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 31 Jan 2013 23:47:15 +0000 (31 23:47 +0000)
tree6df0c0e79df41e54b6aafa8a21609a2783f65775
parent1e14800af3de439748136bfef561c846803fb0ed
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