Re: cvs: php4 /ext/standard file.c
| From: | Sascha Schumann | Date: | Sat, 23 Dec 2000 14:16:26 +0000 |
| Subject: | Re: cvs: php4 /ext/standard file.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-3264@lists.php.net to get a copy of this message | ||
> I can accept "pointless" argument (though EINTR handling still should be
> there, I think, and the rest doesn't take too much) but I miss the
> "dangerous" part. Could you point the place in my code where it does wrong
> thing with regular files?
The dangerous part is derived by my reading of SUSv2/v3 which
does not permit differentiating between an interrupted write
(retry feasible) and a full disk (retry might cause SIGXFSZ
to be delivered to the thread). Therefore, I think it is
dangerous to apply such a function to regular files, as it
might terminate your application (the default action for
SIGXFSZ is to terminate the process).
- Sascha