#38342 [NEW]: mail() always returns FALSE with --enable-sigchild
| From: | geoffwa at cs dot rmit dot edu dot au | Date: | Sat, 05 Aug 2006 10:19:21 +0000 |
| Subject: | #38342 [NEW]: mail() always returns FALSE with --enable-sigchild | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100377@lists.php.net to get a copy of this message | ||
From: geoffwa at cs dot rmit dot edu dot au
Operating system: Solaris 10
PHP version: 5.2.0RC1
PHP Bug Type: Mail related
Bug description: mail() always returns FALSE with --enable-sigchild
Description:
------------
PHP's sigchild handler clobbers returns from the mail() function. This is
similar to bug #8992/#28294.
Compiling PHP without --enable-sigchild makes mail() work as expected.
And as a side note, what is the point of the sigchild handler? Surely it's
better to signal(SIGCHLD, SIG_IGN) if you don't care about the return
status of your children? Is it still needed if you're compiling
--with-oci8 for recent versions of the OCI libraries?
--
Edit bug report at http://bugs.php.net/?id=38342&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38342&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38342&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38342&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38342&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38342&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38342&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38342&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38342&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38342&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38342&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38342&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38342&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38342&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38342&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38342&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38342&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38342&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38342&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38342&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38342&r=mysqlcfg