Commit Graph

6 Commits

Author SHA1 Message Date
lukem c5a53802fe 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.
2004-01-25 16:38:15 +00:00
thorpej 4747ad6ea7 Fix signed/unsigned comparison warnings. 2002-11-11 19:25:38 +00:00
lukem 247856f4d7 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!
2002-03-19 00:04:09 +00:00
kleink 312f023d61 Need "namespace.h". 1999-07-02 15:27:08 +00:00
lukem 645b10c9c4 add rcsids 1999-01-25 00:16:17 +00:00
lukem de3b78d72a merge nsswitch into main branch 1999-01-15 12:48:41 +00:00