]> granicus.if.org Git - php/commitdiff
cleanup an atavism
authorAnatol Belski <ab@php.net>
Mon, 31 Aug 2015 20:22:46 +0000 (22:22 +0200)
committerAnatol Belski <ab@php.net>
Wed, 2 Sep 2015 15:05:47 +0000 (17:05 +0200)
no DOS support here )

TSRM/tsrm_win32.c

index e596741680b21b56c65ce9d448c65d6c499ac077..7bafd2b7b11f8c5e3051b752f64879afaeed5758 100644 (file)
@@ -49,7 +49,7 @@ TSRMLS_CACHE_UPDATE();
        globals->shm     = NULL;
        globals->process_size = 0;
        globals->shm_size         = 0;
-       globals->comspec = _strdup((GetVersion()<0x80000000)?"cmd.exe":"command.com");
+       globals->comspec = _strdup("cmd.exe");
 
        /* Set it to INVALID_HANDLE_VALUE
         * It will be initialized correctly in tsrm_win32_access or set to