Re: cvs: php4 /ext/standard file.c
| From: | Stanislav Malyshev | Date: | Sat, 23 Dec 2000 14:56:02 +0000 |
| Subject: | Re: cvs: php4 /ext/standard file.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-3267@lists.php.net to get a copy of this message | ||
SS>> If any data has already been written (possible in both cases
SS>> as outlined above), write() will return the number of bytes
SS>> and not set errno.
So, how do we know it hadn't enough space in this case? Write can return
partial write for any reason, theoretically, AFAIK.
SS>> The rationale behind SIGXFSZ seems to be that a process
SS>> should be terminated, if it exceeds process limits.
If so, shouldn't we comply with that thought and let the process
die? Like, if Unix standards guys think that's right for a process to die
in this case, they should know better?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115