r323867 tsoome Sept. 21, 2017, 3:30 p.m.
Remove duplicated free()+return statements, default unit to 0
and improve strtol error processing.
ViewVC
r323866 oshogbo Sept. 21, 2017, 2:41 p.m.
let's standardize this. Now we are always use WITH_CASPER name.

Discussed with:	emaste@
MFC after:	1 month
ViewVC
r323865 sevan Sept. 21, 2017, 2:14 p.m.
from blank lines being numbered or unnumbered, depending on whether cat
was invoked with -ne or -be.

At present, when cat is invoked with -be, there is an aditional
difference that the '$' on blank lines is placed on the far left of the
output.

Discussed in bug 210607.

While here, revert the workaround from r304035 which skipped the unit test for
this issue previously.

PR:		210607
Submitted by:	myself
Reviewed by:	bdrewery
Obtained from:	NetBSD
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D12432
ViewVC
r323864 kp Sept. 21, 2017, 2:14 p.m.
This ensures that the loader will not load the module if it's also built in to
the kernel.

PR:		220860
Submitted by:	Eugene Grosbein <eugen@freebsd.org>
Reported by:	Marie Helene Kvello-Aune <marieheleneka@gmail.com>
ViewVC
r323861 tuexen Sept. 21, 2017, 11:56 a.m.
MFC after:	1 week
ViewVC
r323860 oshogbo Sept. 21, 2017, 10:28 a.m.
allocation fails.

Submitted by:	pjd@
MFC after:	1 month
Sponsored by:	Wheel Systems
ViewVC
r323859 oshogbo Sept. 21, 2017, 10:18 a.m.
Submitted by:	pjd@ and oshogbo@
MFC after:	1 month
Sponsored by:	Wheel Systems
ViewVC
r323858 oshogbo Sept. 21, 2017, 10:16 a.m.
initialize nvp on every loop iteration and the code under 'fail'(!) label
detects success by checking of nvp != NULL.

Submitted by:	pjd@
MFC after:	1 month
Sponsored by:   Wheel Systems
ViewVC
r323856 oshogbo Sept. 21, 2017, 10:14 a.m.
Submitted by:   pjd@
MFC after:	1 month
Found by:       scan-build
Sponsored by:   Wheel Systems
ViewVC
r323855 n_hibma Sept. 21, 2017, 10:13 a.m.
This function was only set in legacy.sh and only at the very end after
the disk image had been successfully created. The only difference will be
that the message 'Error encountered. Please check...' will not appear if
nanobsd.sh exits with an error after the disk image has been created.
ViewVC
r323854 oshogbo Sept. 21, 2017, 10:10 a.m.
to 'fail' on error it was treated as success, because nvp!=NULL. Fix this
by not handling success under 'fail' label and by using separate variable
for parent nvpair.

If we succeeded to allocate nvlist, but failed to allocated nvpair we
would leak nvls[ii] on return. Destroy it when we cannot allocate nvpair,
before we goto fail.

Submitted by:	pjd@ and oshogbo@ (minor changes)
Found by:       scan-build
MFC after:	1 month
Sponsored by:	Wheel Systems
ViewVC
r323853 oshogbo Sept. 21, 2017, 10:06 a.m.
Submitted by:	pjd@ and oshogbo@
MFC after:	1 month
Sponsored by:	Wheel Systems
ViewVC
r323852 oshogbo Sept. 21, 2017, 10:03 a.m.
initially NULL, which is not possible. Change the loop to
'do {} while (array != NULL)' to satisfy scan-build and assert that
array really cannot be NULL just in case.

Submitted by:	pjd@
Found by:	scan-build
MFC after:	1 month
Sponsored by:	Wheel Systems
ViewVC
r323851 oshogbo Sept. 21, 2017, 10 a.m.
Make scan-build happy by casting to 'void *' instead of 'void **'.

Submitted by:	pjd@
MFC after:	1 month
Found by:	scan-build and cppcheck
Sponsored by:	Wheel Systems
ViewVC
r323850 tuexen Sept. 21, 2017, 9:47 a.m.
Found by Coverity while scanning the usrsctp library.
MFC after:	1 week
ViewVC