is adding new private symbols to libc frowned upon?

Yuri Pankov yuripv at yuripv.net
Sat Dec 22 01:39:06 UTC 2018


Essentially, I need the __collate_equiv_value symbol to be visible to
libregex for the changes in https://reviews.freebsd.org/D18531.  Is the
following change OK (it works, at least), or should try to avoid that?

--- a/lib/libc/locale/Symbol.map
+++ b/lib/libc/locale/Symbol.map
@@ -212,6 +212,7 @@ FBSD_1.3 {
 FBSDprivate_1.0 {
        _PathLocale;
        __detect_path_locale;
+       __collate_equiv_value;
        __collate_load_error;
        __collate_range_cmp;
 };

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20181222/f63b98d8/attachment.sig>


More information about the freebsd-hackers mailing list