From owner-svn-src-head@freebsd.org Sun Dec 11 01:28:44 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED613C656B8; Sun, 11 Dec 2016 01:28:44 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from shxd.cx (mail.shxd.cx [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D21ECD76; Sun, 11 Dec 2016 01:28:44 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from mobile-166-137-177-238.mycingular.net ([166.137.177.238]:25506 helo=[10.149.1.141]) by shxd.cx with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1cFswP-0001pn-Un; Sun, 11 Dec 2016 01:28:38 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: svn commit: r307402 - head/usr.sbin/bsdconfig/share From: Devin Teske X-Mailer: iPhone Mail (13G36) In-Reply-To: Date: Sat, 10 Dec 2016 17:28:37 -0800 Cc: Devin Teske , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <46C04841-93F2-462E-BC1B-0E742CA48D69@shxd.cx> References: <201610162059.u9GKxSr2065027@repo.freebsd.org> To: Oliver Pinter X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 11 Dec 2016 01:28:45 -0000 I'm out of work and applying for jobs, so please be patient --=20 Devin >> On Dec 10, 2016, at 3:25 PM, Oliver Pinter wrote: >>=20 >> On 10/16/16, Devin Teske wrote: >> Author: dteske >> Date: Sun Oct 16 20:59:28 2016 >> New Revision: 307402 >> URL: https://svnweb.freebsd.org/changeset/base/307402 >>=20 >> Log: >> Guard against bad service name argument(s) to load_rc_config() >>=20 >> MFC after: 3 days >> X-MFC-to: stable/11 stable/10 >=20 > Is this MFC still needed? The 3 days already expired. >=20 >>=20 >> Modified: >> head/usr.sbin/bsdconfig/share/sysrc.subr >>=20 >> Modified: head/usr.sbin/bsdconfig/share/sysrc.subr >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> --- head/usr.sbin/bsdconfig/share/sysrc.subr Sun Oct 16 19:50:10 >> 2016 (r307401) >> +++ head/usr.sbin/bsdconfig/share/sysrc.subr Sun Oct 16 20:59:28 >> 2016 (r307402) >> @@ -256,7 +256,9 @@ f_sysrc_service_configs() >> last_name=3D >> print_name() { >> local name=3D"$1" >> - [ "$name" =3D "$last_name" ] && return >> + case "$name" in >> + ""|.|..|*/*|"$last_name") return ;; >> + esac >> echo "$name" >&9 >> last_name=3D"$name" >> } >> _______________________________________________ >> svn-src-head@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/svn-src-head >> To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" >=20