Split the custr functions into their own library
Upstream of Joyent OS-6920.
From the Joyent ticket:
Currently the custr_ functions reside in libcmdutils which means that anything that wishes to use use them in illumos ends up pulling in all the dependencies of libcmdutils. It also ends up requiring it to be concerned about lf64/non-l64 interfaces due to
libcmdutils.h. We should just place these functions in their own library. The functions will still remain private to illumos for the time being. As a precautionary measure, we can also place add filters within libcmdutils to forward use to
libcustr.so.1 just to ensure any existing binaries that are linked to libcmdutils for the custr functions will still work.
Updated by Electric Monk about 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 500cf85b0395b6835818b6248681bbbc27563dc1 Author: Jason King <firstname.lastname@example.org> Date: 2018-08-28T14:23:33.000Z 9762 Split the custr functions into their own library Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>