about summary refs log tree commit diff
path: root/src/locale/catgets.c
Commit message (Collapse)AuthorAgeFilesLines
* fix accidentlly-external cmp symbol introduced with catgetsRich Felker2019-08-131-1/+1
| | | | commit 7590203c486d9002522019045d34ee3dee0a66f5 omitted static here.
* add non-stub implementation of catgets localization functionsRich Felker2019-08-071-1/+33
| | | | | | | | | | | | 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.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+6