Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/lib/libc/net



Module Name:    basesrc
Committed By:   lukem
Date:           Tue Mar 19 00:04:10 UTC 2002

Modified Files:
        basesrc/lib/libc/net: nslexer.l nsparser.y

Log Message:
Fixes from Bill Fenner <fenner%research.att.com@localhost> 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!


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 basesrc/lib/libc/net/nslexer.l
cvs rdiff -r1.7 -r1.8 basesrc/lib/libc/net/nsparser.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index