]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Trim spaces at the end of the buffer before trying to convert it to an oid
authorbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 14 Oct 2015 06:26:55 +0000 (06:26 +0000)
committerbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 14 Oct 2015 06:26:55 +0000 (06:26 +0000)
commitb21414f77c0f745b2d6d6853e8802db18ca7e850
tree1c9e8ef55a7d460a56a77d55ea4f029ad6db5ee1
parenta2f878ee03ae18eedb174180bad7e2cef01f0f7b
Trim spaces at the end of the buffer before trying to convert it to an oid

This allows to write entries in sysctl.conf with spaces before the '=' like
kern.ipc.shmmax = 9663676416

Sponsored by: Gandi.net

git-svn-id: svn://svn.freebsd.org/base/stable/10@289291 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/sysctl/sysctl.c