Fix bug #10674 with infinite re-spawning of cmdproxy.exe.
authorEli Zaretskii <eliz@gnu.org>
Fri, 24 Feb 2012 10:13:20 +0000 (12:13 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 24 Feb 2012 10:13:20 +0000 (12:13 +0200)
commit58b65bf58c3527e862afd40b64fb54dc116538d5
treee9a112ff0cebef7a0e2892032fe1265d0eb0a644
parent9486df08b798f31960779d86c60cc341e606b864
Fix bug #10674 with infinite re-spawning of cmdproxy.exe.

 nt/cmdproxy.c (main): Bypass conversion of the file name in argv[0]
 and our own module name to short 8+3 aliases, if the original file
 names compare equal.  If GetShortPathName fails, compare the base
 names of the two file names, and only re-spawn the command line if
 the base-name comparison also fails.
nt/ChangeLog
nt/cmdproxy.c