* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd
extension.
This commit is contained in:
parent
c2105cb94d
commit
e15e9fc9a7
@ -1,3 +1,8 @@
|
|||||||
|
2005-09-20 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or
|
||||||
|
.cmd extension.
|
||||||
|
|
||||||
2005-09-19 Christopher Faylor <cgf@timesys.com>
|
2005-09-19 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* dcrt0.cc (do_exit): Only call sigproc_terminate from one location --
|
* dcrt0.cc (do_exit): Only call sigproc_terminate from one location --
|
||||||
|
@ -1024,7 +1024,8 @@ int
|
|||||||
av::fixup (child_info_types chtype, const char *prog_arg, path_conv& real_path, const char *ext)
|
av::fixup (child_info_types chtype, const char *prog_arg, path_conv& real_path, const char *ext)
|
||||||
{
|
{
|
||||||
bool exeext = strcasematch (ext, ".exe");
|
bool exeext = strcasematch (ext, ".exe");
|
||||||
if (exeext && real_path.iscygexec ())
|
if (exeext && real_path.iscygexec () || strcasematch (ext, ".bat")
|
||||||
|
|| strcasematch (ext, ".cmd"))
|
||||||
return 0;
|
return 0;
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user