Make non-.exe externals work again
commite959849565281c9c34a49bd5366641ca6eeeb8ac
authorAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 19:40:33 +0000 (5 15:40 -0400)
committerStepan Kasal <kasal@ucw.cz>
Thu, 15 May 2014 07:43:09 +0000 (15 09:43 +0200)
tree1325ab94cce7058e3bd06d6b109666160445904d
parentfa5d5a30aefd96e7c83bb2cdb8d49549400d6ae6
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