History log of /netbsd/lib/libc/net/nsparser.y (Results 1 – 11 of 11)
Revision Date Author Comments
# 94a48f81 20-Mar-2012 matt <matt@NetBSD.org>

Use C89 Prototypes.
Remove use of __P


# 8bbffe06 05-Feb-2009 lukem <lukem@NetBSD.org>

sign-compare fix


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# c5a53802 25-Jan-2004 lukem <lukem@NetBSD.org>

Use syslog(3) instead of err(3) to log errors.
Based on email conversation with Brian Ginsbach.

Add '%option never-interactive' to nslexer.l, to prevent isatty() from
being called unnecessarily.
Per

Use syslog(3) instead of err(3) to log errors.
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.

show more ...


# 247856f4 19-Mar-2002 lukem <lukem@NetBSD.org>

Fixes from Bill Fenner <fenner@research.att.com> for problems he found
in FreeBSD's port of this nsswitch code:

- Don't ignore unknown characters. The old lexer would treat
hosts:!!!!!!!!@@@@@$%^&

Fixes from Bill Fenner <fenner@research.att.com> for problems he found
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!

show more ...


# d76f22c5 20-Dec-2000 christos <christos@NetBSD.org>

add _nsyylineno declaration


# 2468bbbf 28-Nov-1999 lukem <lukem@NetBSD.org>

don't use err(); instead pass an error condition back to a higher
layer to warn() about.


# 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 ...


# 312f023d 02-Jul-1999 kleink <kleink@NetBSD.org>

Need "namespace.h".


# 645b10c9 25-Jan-1999 lukem <lukem@NetBSD.org>

add rcsids


# de3b78d7 15-Jan-1999 lukem <lukem@NetBSD.org>

merge nsswitch into main branch