Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 07:25:38 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352122 - head/usr.sbin/jail
Message-ID:  <201909100725.x8A7PcYb085260@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 10 07:25:37 2019
New Revision: 352122
URL: https://svnweb.freebsd.org/changeset/base/352122

Log:
  Stop linking to libl by specifying we do not need yywrap
  
  MFC after: 3 days

Modified:
  head/usr.sbin/jail/Makefile
  head/usr.sbin/jail/jaillex.l

Modified: head/usr.sbin/jail/Makefile
==============================================================================
--- head/usr.sbin/jail/Makefile	Tue Sep 10 07:23:01 2019	(r352121)
+++ head/usr.sbin/jail/Makefile	Tue Sep 10 07:25:37 2019	(r352122)
@@ -6,7 +6,7 @@ PROG=	jail
 MAN=	jail.8 jail.conf.5
 SRCS=	jail.c command.c config.c state.c jailp.h jaillex.l jailparse.y y.tab.h
 
-LIBADD=	jail kvm util l
+LIBADD=	jail kvm util
 
 PACKAGE=jail
 

Modified: head/usr.sbin/jail/jaillex.l
==============================================================================
--- head/usr.sbin/jail/jaillex.l	Tue Sep 10 07:23:01 2019	(r352121)
+++ head/usr.sbin/jail/jaillex.l	Tue Sep 10 07:25:37 2019	(r352122)
@@ -48,6 +48,7 @@ static int lineno = 1;
 #define YY_DECL int yylex(void)
 %}
 
+%option noyywrap
 %option noinput
 %option nounput
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909100725.x8A7PcYb085260>