Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 16:05:26 -0800 (PST)
From:      Bill Fenner <fenner@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/net nslexer.l nsparser.y
Message-ID:  <200111070005.fA705QU31621@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
fenner      2001/11/06 16:05:26 PST

  Modified files:
    lib/libc/net         nslexer.l nsparser.y 
  Log:
  Don't ignore unknown characters.  The previous code treated a line like:
  
  hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns
  
  exactly the same as:
  
  hosts: files dns
  
  Recover from parse errors by looking for the end of a line; this
  allows entries without errors to still be parsed even if there is
  an erroneous entry earlier in the file.
  
  Revision  Changes    Path
  1.2       +1 -3      src/lib/libc/net/nslexer.l
  1.2       +4 -0      src/lib/libc/net/nsparser.y

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111070005.fA705QU31621>