httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: assert evilness
Date Sat, 09 May 1998 19:39:02 GMT
Paul Sutton wrote:
> 
> On 9 May 1998 ben@hyperreal.org wrote:
> > ben         98/05/09 08:00:50
> >        n = GetFullPathName(szFile, sizeof buf, buf, &szFilePart);
> >   -    assert(n);
> >   -    assert(n < sizeof buf);
> >   +    ap_assert(n);
> >   +    ap_assert(n < sizeof buf);
> 
> Am I the only person that thinks asserts() are basically evil? 
> 

Nope.

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message