Make non-.exe externals work again
commit0ac90543b2888e7a14eb09ab2753f5f97a395ca6
authorAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 19:40:33 +0000 (5 15:40 -0400)
committerStepan Kasal <kasal@ucw.cz>
Wed, 16 Apr 2014 14:33:12 +0000 (16 16:33 +0200)
treeeb21d1398f6dd5bc2a601e140d97dc44455e4d6d
parentc7f70b48fc6a7c990b22307ef50d564ce56c39df
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