com php-src: cleanup an atavism: TSRM/tsrm_win32.c
| From: | Anatol Belski | Date: | Wed, 02 Sep 2015 15:05:47 +0000 |
| Subject: | com php-src: cleanup an atavism: TSRM/tsrm_win32.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88858@lists.php.net to get a copy of this message | ||
Commit: 59d3529f29790e9e9aed50d4135e96c5bda2f094
Author: Anatol Belski <ab@php.net> Mon, 31 Aug 2015 22:22:46 +0200
Parents: 9d82a7dc9844281b17a4e20c744dd0271c657e51
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=59d3529f29790e9e9aed50d4135e96c5bda2f094
Log:
cleanup an atavism
no DOS support here )
Changed paths:
M TSRM/tsrm_win32.c
Diff:
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c
index e596741..7bafd2b 100644
--- a/TSRM/tsrm_win32.c
+++ b/TSRM/tsrm_win32.c
@@ -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