Author: trasz
Date: Tue Feb 11 11:36:15 2014
New Revision: 261766
URL: http://svnweb.freebsd.org/changeset/base/261766

Log:
  Make ctld error out on invalid characters in ctl.conf.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  head/usr.sbin/ctld/token.l

Modified: head/usr.sbin/ctld/token.l
==============================================================================
--- head/usr.sbin/ctld/token.l  Tue Feb 11 11:35:26 2014        (r261765)
+++ head/usr.sbin/ctld/token.l  Tue Feb 11 11:36:15 2014        (r261766)
@@ -85,4 +85,5 @@ timeout                       { return TIMEOUT; }
 #.*$                   /* ignore comments */;
 \n                     { lineno++; }
 [ \t]+                 /* ignore whitespace */;
+.                      { yylval.str = strdup(yytext); return STR; }
 %%
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to