summaryrefslogtreecommitdiff
path: root/lib/libc/net/base64.c
AgeCommit message (Collapse)Author
2014-11-24knf, no functional change.christos
2014-11-24Don't read past the end when the data is exactly the right size. Reportedchristos
by tedu @ openbsd in tech-userlevel. Thanks!
2012-06-25Update old-style definitions to ANSI, remove a couple of registerabs
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-03-13PR/45989: Martin Husemann: lint invocation does include -w only on i386christos
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds) approved by core@
2009-04-12merge libbind and bump.christos
2008-06-21updates from bind-9-5-0christos
2007-03-30Resolve conflicts.ghen
2007-01-27merge in resolver portion of bind-9.4.0-rc2christos
2002-11-11Fix signed/unsigned comparison warnings.thorpej
2000-07-07Passing "char" values to ctype(3) functions is problematic.itohy
If an argument of a ctype function is outside "unsigned char" and if it is not EOF, the behavior is undefined. The isascii(3) is the sole exception of above and it was used to be used to check a value was valid for other ctype functions in ancient systems. On modern systems, the ctype functions take all values of "unsigned char", and this check is obsolete and even wrong for non-ASCII systems. However, we leave the isascii() untouched for now, so as not to change the current behavior.
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
_DIAGASSERT() is still retained.
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
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
1998-11-13delintchristos
1997-07-13Fix RCSID'schristos
Fix gcc warnings Add missing prototypes Use "namespace.h"
1997-04-13merge in the bind 4.9.5-P1 resolver. we are now _mostly_ themrg
same as this, with our changes also included (resolv.conf and other minor differences).
1997-04-13BIND 4.9.5-P1 resolver bits we usemrg