]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r238509:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Aug 2012 21:00:33 +0000 (21:00 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Aug 2012 21:00:33 +0000 (21:00 +0000)
commit7f45f75df9c80aa27297935e2f15dfeff82c8f0f
tree5f216b4a8dda25c2448328262b05b99d2e42b8fa
parent67ae86bfd48b11996e6bee221a1361742494064c
MFC r238509:

Use libc's strndup() instead of Dtrace's reimplementation.

Corresponds partially to OpenSolaris change:
PSARC 2010/299 GNU/Linux/BSD compatibility functions
6901783 strndup would be nice.

git-svn-id: svn://svn.freebsd.org/base/stable/9@239534 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/lib/libdtrace/common/dt_string.c
cddl/contrib/opensolaris/lib/libdtrace/common/dt_string.h