gEDA-dev: libgeda error reporting

Peter TB Brett peter at peter-b.co.uk
Mon Jul 2 13:51:53 EDT 2007


On Monday 02 July 2007 17:35:12 Ales Hvezda wrote:
> > While working on gattrib, I noticed that libgeda
> > prints errors and uses calls like fprintf(stderr, ...).
> >
> > So when you try to open up a nonexistant file in
> > a program using libgeda (gattrib in this case), you
> > get errors both from libgeda and from the program.
> > Is this intended?
>
> Originally intended, but should be removed or fixed now.
> libgeda calls should return error status and if necessary
> write something to the log.

The GError mechanism would be suitable, I think.

                         Peter



-- 
Peter Brett

Electronic Systems Engineer
Integral Informatics Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.seul.org/pipermail/geda-dev/attachments/20070702/ddd79403/attachment.pgp 


More information about the geda-dev mailing list