diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-08-07 21:15:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-08-07 21:15:53 -0400 |
commit | 7590203c486d9002522019045d34ee3dee0a66f5 (patch) | |
tree | 5d0a587e9bdf2cafdac379f306e7be94447490c8 /src/locale/dcngettext.c | |
parent | d0b547dfb5f7678cab6bc39dd736ed6454357ca4 (diff) | |
download | musl-7590203c486d9002522019045d34ee3dee0a66f5.tar.gz musl-7590203c486d9002522019045d34ee3dee0a66f5.tar.xz musl-7590203c486d9002522019045d34ee3dee0a66f5.zip |
add non-stub implementation of catgets localization functions
these accept the netbsd/openbsd message catalog file format, consisting of a sorted list of set headers and a sorted list of message headers for each set, admitting trivial binary search for lookups. the gnu format was not chosen because it's unusably bad. it does not admit efficient (log time or better) lookups; rather, it requires linear search or hash table lookups, and the hash function is awful: it's literally set_id*msg_id.
Diffstat (limited to 'src/locale/dcngettext.c')
0 files changed, 0 insertions, 0 deletions