svn commit: r250379 - in head/usr.sbin/bsnmpd/modules: . snmp_hast

Konstantin Belousov kostikbel at gmail.com
Thu May 9 12:08:32 UTC 2013


On Thu, May 09, 2013 at 01:05:35PM +0300, Mikolaj Golub wrote:
> Yes, it is like so. Thanks! I am now considering two possible
> solutions:
> 
> 1) As it is suggested above, add trivial yywrap() and link without -ll.
> 
> 2) Add '%option noyywrap' to hastd/token.l, and link hastd, hastctl
> and snmp_hast without -ll (it looks like yywrap is needed only when
> parsing more than one file).
> 
> See the patches below. It looks both solutions work for me and I
> personally prefer the second one.
I do not have any opinion, use what you prefer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130509/dc16c077/attachment.sig>


More information about the svn-src-all mailing list