summaryrefslogtreecommitdiff
path: root/lib/libc/net/nsparser.y
AgeCommit message (Collapse)Author
2012-03-20Use C89 Prototypes.matt
Remove use of __P
2009-02-05sign-compare fixlukem
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2004-01-25Use syslog(3) instead of err(3) to log errors.lukem
Based on email conversation with Brian Ginsbach. Add '%option never-interactive' to nslexer.l, to prevent isatty() from being called unnecessarily. Per discussion on current-users@ between Christian Biere and Greg Woods.
2002-03-19Fixes from Bill Fenner <fenner@research.att.com> for problems he foundlukem
in FreeBSD's port of this nsswitch code: - Don't ignore unknown characters. The old lexer would treat hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns exactly the same as hosts: files dns - Recover from errors by looking for the end of a line. This means that having a syntax error near the top of the file doesn't prevent a service at the bottom of the file with no syntax error from being looked up. Thanks Bill!
2000-12-20add _nsyylineno declarationchristos
1999-11-28don't use err(); instead pass an error condition back to a higherlukem
layer to warn() about.
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
1999-07-02Need "namespace.h".kleink
1999-01-25add rcsidslukem
1999-01-15merge nsswitch into main branchlukem