summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-17 10:04:28 +0000
committerPierre Joye <pajoye@php.net>2010-09-17 10:04:28 +0000
commitc17f8ecd6a4d8fac8d5db189172a5deadb326a5f (patch)
tree7c87118f82bff82a29df235b530721acd5292ca0 /ext
parentb154864cc94209bb2badc0e3685d5d3d0ae3eca0 (diff)
downloadphp-git-c17f8ecd6a4d8fac8d5db189172a5deadb326a5f.tar.gz
- use popen_ex directly, avoid the tsrm fetch
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/mail.c b/ext/standard/mail.c
index 26ae2a8d9a..92d0307d25 100644
--- a/ext/standard/mail.c
+++ b/ext/standard/mail.c
@@ -280,7 +280,7 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char
#endif
#ifdef PHP_WIN32
- sendmail = popen(sendmail_cmd, "wb");
+ sendmail = popen_ex(sendmail_cmd, "wb", NULL, NULL TSRMLS_CC);
#else
/* Since popen() doesn't indicate if the internal fork() doesn't work
* (e.g. the shell can't be executed) we explicitely set it to 0 to be