Make non-.exe externals work again
commit2626a329dc27f7d1e1dec60e69df3feca44317d0
authorAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 19:40:33 +0000 (5 15:40 -0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 29 May 2013 22:07:11 +0000 (29 23:07 +0100)
tree3be9803962c73f293f63e0749b35dd5a0f8dd2f4
parent385e1a16dac2d979c539f1e5ba1eb6b313284ba2
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