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

2013-05-10 Thread Pawel Jakub Dawidek
On Thu, May 09, 2013 at 01:05:35PM +0300, Mikolaj Golub wrote: > On Thu, May 09, 2013 at 11:22:43AM +0300, Konstantin Belousov wrote: > > Why do you need libl.a ? If only for yywrap(), then re-implementing > > it for the module seems to be trivial. > > Yes, it is like so. Thanks! I am now consider

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

2013-05-09 Thread Konstantin Belousov
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 snm

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

2013-05-09 Thread Mikolaj Golub
On Thu, May 09, 2013 at 11:22:43AM +0300, Konstantin Belousov wrote: > On Thu, May 09, 2013 at 10:14:14AM +0300, Mikolaj Golub wrote: > > On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote: > > > On Wed, May 8, 2013 at 4:25 PM, Peter Wemm wrote: > > > > On Wed, May 8, 2013 at 1:03 PM, Miko

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

2013-05-09 Thread Konstantin Belousov
On Thu, May 09, 2013 at 10:14:14AM +0300, Mikolaj Golub wrote: > On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote: > > On Wed, May 8, 2013 at 4:25 PM, Peter Wemm wrote: > > > On Wed, May 8, 2013 at 1:03 PM, Mikolaj Golub wrote: > > >> Author: trociny > > >> Date: Wed May 8 20:03:37 201

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

2013-05-09 Thread Mikolaj Golub
On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote: > On Wed, May 8, 2013 at 4:25 PM, Peter Wemm wrote: > > On Wed, May 8, 2013 at 1:03 PM, Mikolaj Golub wrote: > >> Author: trociny > >> Date: Wed May 8 20:03:37 2013 > >> New Revision: 250379 > >> URL: http://svnweb.freebsd.org/changeset

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

2013-05-08 Thread Glen Barber
On Wed, May 08, 2013 at 04:44:54PM -0700, Peter Wemm wrote: > Hmm. It seems clang optimizes something away that gcc doesn't. When > building with clang the problem doesn't show up. > This is becoming more and more common of a problem... :( Glen pgpG2f9xV15x2.pgp Description: PGP signature

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

2013-05-08 Thread Peter Wemm
On Wed, May 8, 2013 at 4:25 PM, Peter Wemm wrote: > On Wed, May 8, 2013 at 1:03 PM, Mikolaj Golub wrote: >> Author: trociny >> Date: Wed May 8 20:03:37 2013 >> New Revision: 250379 >> URL: http://svnweb.freebsd.org/changeset/base/250379 >> >> Log: >> HAST module for bsnmpd(1). >> >> Reviewed

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

2013-05-08 Thread Peter Wemm
On Wed, May 8, 2013 at 1:03 PM, Mikolaj Golub wrote: > Author: trociny > Date: Wed May 8 20:03:37 2013 > New Revision: 250379 > URL: http://svnweb.freebsd.org/changeset/base/250379 > > Log: > HAST module for bsnmpd(1). > > Reviewed by: harti, pjd > MFC after:2 weeks This breaks world

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

2013-05-08 Thread Mikolaj Golub
Author: trociny Date: Wed May 8 20:03:37 2013 New Revision: 250379 URL: http://svnweb.freebsd.org/changeset/base/250379 Log: HAST module for bsnmpd(1). Reviewed by: harti, pjd MFC after:2 weeks Added: head/usr.sbin/bsnmpd/modules/snmp_hast/ head/usr.sbin/bsnmpd/modules/snmp_has