Re: _DIAGASSERT in libusb libutil

2000-07-07 Thread Nick Hibma
Fixed. Sorry. On Thu, 6 Jul 2000, John Baldwin wrote: Charles Anderson wrote: # grep -r DIAGASSERT . (from /usr/src) ./lib/libutil/fparseln.c: _DIAGASSERT(sp != NULL); ./lib/libutil/fparseln.c: _DIAGASSERT(p != NULL); ./lib/libutil/fparseln.c: _DIAGASSERT(fp

Re: _DIAGASSERT in libusb libutil

2000-07-07 Thread itojun
It's a macro that NetBSD uses just to be different from the rest of the known world which uses the assert() macro from /usr/include/assert.h. _DIAGASSERT() has its history and reasons (there was some proposal on it and _DIAGASSERT() implements that). it is not just

Re: _DIAGASSERT()

2000-07-07 Thread Jason R Thorpe
On Fri, Jul 07, 2000 at 07:07:50PM +0900, [EMAIL PROTECTED] wrote: do we still need _DIAGASSERT()? i'm not sure if they are maintained any longer... jhb does not seem to have checked the history of it BTW. Yes, if Mr. Baldwin had done his homework, rather than make an insulting

Re: _DIAGASSERT in libusb libutil

2000-07-07 Thread John Baldwin
On 07-Jul-00 [EMAIL PROTECTED] wrote: It's a macro that NetBSD uses just to be different from the rest of the known world which uses the assert() macro from /usr/include/assert.h. _DIAGASSERT() has its history and reasons (there was some proposal on it and _DIAGASSERT

Re: _DIAGASSERT()

2000-07-07 Thread John Baldwin
On 07-Jul-00 Jason R Thorpe wrote: On Fri, Jul 07, 2000 at 07:07:50PM +0900, [EMAIL PROTECTED] wrote: do we still need _DIAGASSERT()? i'm not sure if they are maintained any longer... jhb does not seem to have checked the history of it BTW. Yes, if Mr. Baldwin had done his

_DIAGASSERT in libusb libutil

2000-07-06 Thread Charles Anderson
# grep -r DIAGASSERT . (from /usr/src) ./lib/libutil/fparseln.c: _DIAGASSERT(sp != NULL); ./lib/libutil/fparseln.c: _DIAGASSERT(p != NULL); ./lib/libutil/fparseln.c: _DIAGASSERT(fp != NULL); ./lib/libusb/data.c:_DIAGASSERT(p != NULL); ./lib/libusb/data.c:_DIAGASSERT(h