]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r315745:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Mar 2017 12:29:15 +0000 (12:29 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Mar 2017 12:29:15 +0000 (12:29 +0000)
commitfc9c5b38eef37c3da126c7e745c3b87454d935c6
tree61fc6d0b7df9876e641ce4c0e6904940bf5c34c6
parented83dfcf34d167f876985081f1c3038cecd732c5
MFC r315745:

Cherry-pick libcxxrt commit 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92:

Author: David Chisnall <theraven@FreeBSD.org>
Date:   Wed Mar 22 12:27:08 2017 +0000

    Simplify some code.

    realloc() with a null pointer is equivalent to malloc, so we don't need
    to handle the two cases independently.

    Fixes #46

This should help with lang/beignet and other programs, which expect
__cxa_demangle(name, NULL, NULL, &status) to return zero in status.

PR: 213732

git-svn-id: svn://svn.freebsd.org/base/stable/10@315943 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/libcxxrt/typeinfo.cc