Re: cvs: php4 /ext/standard file.c
| From: | Sascha Schumann | Date: | Sat, 23 Dec 2000 16:45:07 +0000 |
| Subject: | Re: cvs: php4 /ext/standard file.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-3278@lists.php.net to get a copy of this message | ||
> > Is there any specific advantage over simply ignoring the
> > signal and moving the error handling code into xy_write()?
>
> Well yes, assuming other modules pay attention to this signal...
Then we are running into other problems, as we don't know
whether other modules use signal() or sigaction() to set
their handler. A signal handler set using signal() is not
necessarily available through the modern sigaction()
interface and using signal() to set our own handler won't
properly interoperate with handlers which were set using
sigaction().
- Sascha