]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the internal assertion correct--only fail when '\0' is found in
authorwkoszek <wkoszek@FreeBSD.org>
Wed, 1 May 2013 05:14:59 +0000 (05:14 +0000)
committerwkoszek <wkoszek@FreeBSD.org>
Wed, 1 May 2013 05:14:59 +0000 (05:14 +0000)
commitfaa1380e8474053e5dd2f4129411639eff44f322
treef2945387f38d2b5da065b257db4220028219330f
parent4d50cec7052469379ca421b218ddd83b5d3286d8
Make the internal assertion correct--only fail when '\0' is found in
places other than the end of the test section. Otherwise, with kernel
compiled with Clang which happens to be setting ELF section alignment
differently config(8) was throwing assert() failure unnecessarily

Reported by: Kimmo Paasiala <kpaasial (at) gmail.com>
Tested by: Kimmo Paasiala <kpaasial (at) gmail.com>
MFC after: 10 days
usr.sbin/config/main.c