NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/53722: Static binaries don't support locales that are implemented using shared objects

    Date:        Sun, 11 Nov 2018 18:37:00 -0500
    From: (Christos Zoulas)
    Message-ID:  <>

  | I think though that the locale can be fixed the same way the pam was (by
  | loading all the known locales).

Why are we using dynamic linking for locales?   Sure, that should work, but
a local is just a bunch of data, is it not?   Wouldn't just malloc()ing a space
to stick it, and doing a simple read() work?   Or at worst, reading a header
to find out how many structs are needed, then malloc() and read() the rest.

What does using dynamic linking really achieve (aside from that the support
is there already, and needed for other stuff.)


Home | Main Index | Thread Index | Old Index