Make non-.exe externals work again
commit2af4eaa5c8acafb34c546708e6665256edeb37d9
authorAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 19:40:33 +0000 (5 15:40 -0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 5 Dec 2013 23:20:11 +0000 (5 23:20 +0000)
tree93d86086b7b5c6aa1aba61df743feb01eb06186d
parent3816b3bbd69565e3ae6489ea96826106bfb3fbf4
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