Re: [gamin] Re: gam_node.c cleanup
- From: Daniel Kegel <dkegel google com>
- To: veillard redhat com
- Cc: gamin-list gnome org
- Subject: Re: [gamin] Re: gam_node.c cleanup
- Date: Mon, 13 Jun 2005 05:12:16 -0700
Daniel Veillard wrote:
However I'm a bit uneasy with transforming casual return handling in case
of NULL parameters, sometimes it's just cumbersome to test NULL and having
the server exit for a perfectly recoverable reason can be just nasty. Such
an assert generated for example a number of "gam_server existed" bug report
it was good in that it allowed to chase the problem, it was bad in the
sense it made runtime hard for all users !
Why? Asserts should compile to nothing in production code.
It's only in debug builds (which users never see)
that assert should actually do anything.
- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]