#
79cc88df |
| 21-Oct-2003 |
fvdl <fvdl@NetBSD.org> |
Don't use NULL to compare against an int.
|
#
eb7c1594 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
#
a5e4741a |
| 14-Sep-2000 |
msaitoh <msaitoh@NetBSD.org> |
check LIBC_SCCS
|
#
d8962612 |
| 20-Sep-1999 |
lukem <lukem@NetBSD.org> |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
#
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 ...
|
#
da0e4c24 |
| 04-May-1999 |
christos <christos@NetBSD.org> |
- add a comparison to NULL in a conditional. - cast third argument of strn*() to size_t - s/FALL THROUGH/FALLTHROUGH/
|
#
7ba69add |
| 19-Aug-1998 |
thorpej <thorpej@NetBSD.org> |
Add some braces to make egcs happy.
|
#
32f51971 |
| 06-Jul-1998 |
mrg <mrg@NetBSD.org> |
- use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe
- use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
show more ...
|
#
64288566 |
| 19-Mar-1998 |
tv <tv@NetBSD.org> |
FTP uses ruserpass() differently from that in libcompat. Fix rexec to recognize that the new ruserpass returns an int (but ignore it for now), and ruserpass does not accept an acct pointer.
|
#
bceb6b57 |
| 19-Mar-1998 |
tv <tv@NetBSD.org> |
Add a ruserpass() function to make rexec happy. PR 901 (that's not a typo).
|