nsd+CRLF = confusing error messages

Miek Gieben miek at miek.nl
Tue Mar 28 18:04:40 UTC 2006


[On 28 Mar, @19:09, Arnt Gulbrandsen wrote in "Re: nsd+CRLF = confusing error ..."]
> --- nsd-2.3.3-orig/zlexer.lex   2005-05-12 14:55:38.000000000 +0200
> +++ nsd-2.3.3/zlexer.lex        2006-03-28 19:07:27.585419750 +0200
> @@ -72,8 +72,8 @@
> 
>  SPACE   [ \t]
>  LETTER  [a-zA-Z]
> -NEWLINE \n
> -ZONESTR [^ \t\n();.\"\$]
> +NEWLINE [\n\r]
> +ZONESTR [^ \t\r\n();.\"\$]
>  DOLLAR  \$
>  COMMENT ;
>  DOT     \.
> 
> Still a lot simpler than rejecting with a good error message ;) Thank 

indeed :) I'll apply this to our tree,

--
grtz,
  - Miek

  http://www.miek.nl              http://www.nlnetlabs.nl
  PGP: 6A3C F450 6D4E 7C6B C23C  F982 258B 85CF 3880 D0F6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20060328/7ad90e9d/attachment.bin>


More information about the nsd-users mailing list