pajoye Fri, 17 Sep 2010 10:04:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303457
Log:
- use popen_ex directly, avoid the tsrm fetch
Changed paths:
U php/php-src/trunk/ext/standard/mail.c
Modified: php/php-src/trunk/ext/standard/mail.c
===================================================================
--- php/php-src/trunk/ext/standard/mail.c 2010-09-17 10:00:01 UTC (rev
303456)
+++ php/php-src/trunk/ext/standard/mail.c 2010-09-17 10:04:28 UTC (rev
303457)
@@ -280,7 +280,7 @@
#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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php