On Sat, 20 Dec 2014 13:03:23 -0800
Paul Eggert <egg...@cs.ucla.edu> wrote:

> Norihiro Tanaka wrote:
> > +#if NDEBUG
> > +      close (cdb->fd);
> > +#else
> >         bool close_fail = close (cdb->fd);
> >         assert (! close_fail);
> > +#endif
> 
> That sort of thing looks like it'd be reasonably annoying in the long
> run.  How about the attached patch instead?

Thanks, it works fine, and it is elegant.  However, how about "gl_assert"
instead of "assure"?


Reply via email to