From owner-svn-src-head@FreeBSD.ORG Thu May 9 12:08:32 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3EEAADF4; Thu, 9 May 2013 12:08:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id A3CE8271; Thu, 9 May 2013 12:08:31 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r49C8STb068919; Thu, 9 May 2013 15:08:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r49C8STb068919 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r49C8RNf068917; Thu, 9 May 2013 15:08:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 9 May 2013 15:08:27 +0300 From: Konstantin Belousov To: Mikolaj Golub Subject: Re: svn commit: r250379 - in head/usr.sbin/bsnmpd/modules: . snmp_hast Message-ID: <20130509120827.GR3047@kib.kiev.ua> References: <201305082003.r48K3cYv062256@svn.freebsd.org> <20130509071412.GA94250@gmail.com> <20130509082243.GP3047@kib.kiev.ua> <20130509100533.GC94250@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AeeUtFwBxAlMaHsO" Content-Disposition: inline In-Reply-To: <20130509100533.GC94250@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Pawel Jakub Dawidek , Peter Wemm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 12:08:32 -0000 --AeeUtFwBxAlMaHsO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > 1) As it is suggested above, add trivial yywrap() and link without -ll. >=20 > 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). >=20 > 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. --AeeUtFwBxAlMaHsO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRi5G7AAoJEJDCuSvBvK1B0I0P+gKcRfbTG8Hlw5d0ynhDkhvo MA3CyPWHiS5haIOCF97T3ANe7mv62Vvn9hOdTzHrMnhVS+FTQTn78Mk+NuR3d5EK iwoBpCzFE6D95pcdkNtcd+9zMI8M4xRyRwG4ZzFHhsJtopQ9XmSUc1p87DZX+dxh 1jzsO7hswmOyexv2My/LMuwuDYC/PTkrCNy2ZqfldCAdwu4RutHT0V3d+K3wFhPF EkJHAtl5xFis8SAOnAmGpCOBvT1LFWIS5NzaEnH6c9x8sGpMh77c8dpsupppXDXr DfobKgX5/eMzw7PMXzqSmfn92SNN2nzQsR0kjAGj7pB3+2mkpgbQAksG/M1F8I+Y fxGQXQ47x8HVl+fEJsjrEWdKpt1MzuI+1vmODNM6MpYGT+y5mlwikstBslKgAywY 5PNfXqqolhnrbptK5z1Sy+Yt0NFA7xA3USgnI9R22Fv6UCIAyB3B99nn8XlyRm5f MfWsVhpYPek6pYt928Yf84NzRn3SKzktI6WcZxQmtfhwgcqgRQIdzT1wt0aZ4tK0 hrt4QmiVrWDvnmaNjKF1905VJocakztCBbc7st6jsnQNgYVVZq/5L/JPPJftGXr8 8Dc881/1uB5J6TXgp2GQqNZC/BCrGY7R0T2waCUcUXmR4I3+NBZ0VmGq4O95ywnn 9x3QZ7wnJt7QLRqkBNpp =MGFj -----END PGP SIGNATURE----- --AeeUtFwBxAlMaHsO--