version 1.1.1.3, 2013/07/22 01:32:05
|
version 1.1.1.4, 2013/10/14 08:02:34
|
Line 318 PHPAPI int php_mail(char *to, char *subject, char *mes
|
Line 318 PHPAPI int php_mail(char *to, char *subject, char *mes
|
sendmail = popen_ex(sendmail_cmd, "wb", NULL, NULL TSRMLS_CC); |
sendmail = popen_ex(sendmail_cmd, "wb", NULL, NULL TSRMLS_CC); |
#else |
#else |
/* Since popen() doesn't indicate if the internal fork() doesn't work |
/* 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 | * (e.g. the shell can't be executed) we explicitly set it to 0 to be |
* sure we don't catch any older errno value. */ |
* sure we don't catch any older errno value. */ |
errno = 0; |
errno = 0; |
sendmail = popen(sendmail_cmd, "w"); |
sendmail = popen(sendmail_cmd, "w"); |