Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2015 01:58:29 -0700
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r288981 - head/sbin/sysctl
Message-ID:  <52FE118F-5C0E-4CC2-9078-27015D72315B@gmail.com>
In-Reply-To: <201510070856.t978u2mZ048215@repo.freebsd.org>
References:  <201510070856.t978u2mZ048215@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Oct 7, 2015, at 01:56, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
>=20
> Author: bapt
> Date: Wed Oct  7 08:56:01 2015
> New Revision: 288981
> URL: https://svnweb.freebsd.org/changeset/base/288981
>=20
> Log:
>  Trim spaces at the end of the buffer before trying to convert it to =
an oid
>=20
>  This allows to write entries in sysctl.conf with spaces before the =
'=3D' like
>  kern.ipc.shmmax =3D 9663676416
>=20
>  MFC after:	1 week
>  Sponsored by:	Gandi.net

Won=E2=80=99t this cause issues if the intent of the original value is =
to have a space before the rest of the value, e.g.

sysctl my.oid=3D=E2=80=9C i really wanted a leading space=E2=80=9D

?=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FE118F-5C0E-4CC2-9078-27015D72315B>