#
f379d2c8 |
| 09-May-2004 |
kleink <kleink@NetBSD.org> |
There are two instances of getsubopt.c, one in gen, which came by the ways of 386BSD, and one in stdlib, which is from Lite-2. The former was picked up by the build process and has seen a little mor
There are two instances of getsubopt.c, one in gen, which came by the ways of 386BSD, and one in stdlib, which is from Lite-2. The former was picked up by the build process and has seen a little more maintenance while the latter's location is "right", so bring the latter up to par with the former and dispose of the (now) latter.
Reported by David A. Holland in PR lib/25160, which is worded in a far less mind-boggling fashion than the above.
show more ...
|
#
b48252f3 |
| 16-Sep-1999 |
lukem <lukem@NetBSD.org> |
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attemp
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls.
the first two items result in the addition of code similar to the following in various functions:
_DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
show more ...
|