gEDA-dev: libgeda error reporting
Ivan Stankovic
ivan.stankovic at fer.hr
Mon Jul 2 11:36:59 EDT 2007
Hi all,
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?
If libgeda is indeed a library, shouldn't it
just return an error and let the user take care
of it (by printing the error string and exiting
the program, for example)?
--
Ivan Stankovic, ivan.stankovic at fer.hr
"Protect your digital freedom and privacy, eliminate DRM,
learn more at http://www.defectivebydesign.org/what_is_drm"
More information about the geda-dev
mailing list