]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement __assert() for Solaris-specific code. Until now Solaris code was
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Tue, 8 Sep 2009 20:06:35 +0000 (20:06 +0000)
committerPawel Jakub Dawidek <pjd@FreeBSD.org>
Tue, 8 Sep 2009 20:06:35 +0000 (20:06 +0000)
commitbf55edc7c805a6c73874f5a369924000b43b2618
tree7f7062cac17df17189f365912251e245d3be89f9
parentd534b0c238f840a589e0513fe70f3531763ae9cf
Implement __assert() for Solaris-specific code. Until now Solaris code was
using Solaris prototype for __assert(), but FreeBSD's implementation.
Both take different arguments, so we were either core-dumping in assert()
or printing garbage.

Reported by: avg
MFC after: 1 week
cddl/compat/opensolaris/include/assert.h [new file with mode: 0644]
cddl/contrib/opensolaris/head/assert.h [deleted file]