Otavio Salvador <[EMAIL PROTECTED]> wrote:
> Jim Meyering <[EMAIL PROTECTED]> writes:
>
>> I think it would be worthwhile (long term) to convert the other way,
>> e.g., ped_free -> free, ped_malloc -> malloc, etc.
>
> But wouldn't the exception handling be a good thing in this case?

?!?  This sort of "exception handling" is never a good thing.
Its use makes for ugly, unmaintainable code.

One problem is that what libparted calls "exception handling"
is an ugly kludge that can make the library code produce output
and/or try to read an interactive reply from the user
(things libraries must not do, in general).  In addition,
how the handler behaves depends on static state,
which is another big no-no for a library.

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to