selftest.c: remove calls to strndup (PR bootstrap/78616)
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 2 Dec 2016 22:39:43 +0000 (22:39 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 2 Dec 2016 22:39:43 +0000 (22:39 +0000)
commitbf7f70ffb57c900d18fed28ad05fc2876d435b3d
treeb1dacecf434be5238e9c4707cb69d047e97182b3
parent6556f6516673c0c51167238d5f594d09cb2d435f
selftest.c: remove calls to strndup (PR bootstrap/78616)

gcc/ChangeLog:
PR bootstrap/78616
* selftest.c (selftest::assert_strndup_eq): Rename to...
(selftest::assert_xstrndup_eq): ...this, and remove call to
strndup.
(selftest::test_strndup): Rename to...
(selftest::test_xstrndup): ...this, updating for above renaming.
(selftest::test_libiberty): Update for renaming.

From-SVN: r243207
gcc/ChangeLog
gcc/selftest.c