[Ecls-list] EPIPE and C errors
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at gmail.com
Mon Oct 1 21:23:54 UTC 2012
On Fri, Sep 21, 2012 at 12:11 AM, Matthew Mondor
<mm_lists at pulsar-zone.net>wrote:
> I noticed that functions such as WRITE-SEQUENCE will signal a condition
> of type SIMPLE-ERROR if EPIPE is returned when writing. This is
> admitedly in non-standard territory, as only TYPE-ERROR is specified
> for WRITE-SEQUENCE.
I am going to upload some patches that fix this. ECL will signal FILE-ERROR
and STREAM-ERROR conditions when stream operations fail due to the C
library. Unfortunately the error hierarchy is already polluted enough and
rather incestuous and adding more loops with C error conditions, errno and
strerrno fields looks like an overkill to me. Until somebody cleans this up
(CDR anyone?) this should do, but please feel free to comment.
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel