diff options
author | Pierre Joye <pajoye@php.net> | 2010-09-17 10:04:28 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-09-17 10:04:28 +0000 |
commit | c17f8ecd6a4d8fac8d5db189172a5deadb326a5f (patch) | |
tree | 7c87118f82bff82a29df235b530721acd5292ca0 /ext/standard/mail.c | |
parent | b154864cc94209bb2badc0e3685d5d3d0ae3eca0 (diff) | |
download | php-git-c17f8ecd6a4d8fac8d5db189172a5deadb326a5f.tar.gz |
- use popen_ex directly, avoid the tsrm fetch
Diffstat (limited to 'ext/standard/mail.c')
-rw-r--r-- | ext/standard/mail.c | 2 |
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 |