even with 'ScriptInterpreterSource Registry' enabled, since I've
discovered the registry is inconsistent between the versions of
WinNT/2K/XP. [William Rowe]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@94074
13f79535-47bb-0310-9956-
ffa450edef68
}
ext = strrchr(exename, '.');
- if (ext && (!strcasecmp(ext,".bat") || !strcasecmp(ext,".cmd")) &&
- d->script_interpreter_source != INTERPRETER_SOURCE_REGISTRY)
+ if (ext && (!strcasecmp(ext,".bat") || !strcasecmp(ext,".cmd")))
{
- /* The registry does these for us unless INTERPRETER_SOURCE_REGISTRY
- * was not enabled.
- */
char *p, *shellcmd = getenv("COMSPEC");
if (!shellcmd)
shellcmd = SHELL_PATH;