Make non-.exe externals work again
commit8094687e8504c56b67a0434ac289407911ba184c
authorAdam Roben <adam@roben.org>
Tue, 5 Jun 2012 19:40:33 +0000 (5 15:40 -0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 16 Jan 2013 09:53:00 +0000 (16 09:53 +0000)
treec96cd07283a0f2a3a3bc4ac2574d0607fa1909f0
parent4ff60df28656f5e891efe5885f934b7d0486b41f
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