[Ecls-list] EPIPE and C errors

Matthew Mondor mm_lists at pulsar-zone.net
Tue Oct 2 11:17:52 UTC 2012


On Mon, 1 Oct 2012 23:23:54 +0200
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at gmail.com> wrote:

> 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.

I'll update and test with the new ECL soon (i.e. a few days), and will
confirm/report then.

Thanks!
-- 
Matt




More information about the ecl-devel mailing list