summaryrefslogtreecommitdiff
path: root/src/locale/__lctrans.c
AgeCommit message (Collapse)AuthorLines
2014-07-26implement mo file string lookup for translationsRich Felker-0/+20
the core is based on a binary search; hash table is not used. both native and reverse-endian mo files are supported. all offsets read from the mapped mo file are checked against the mapping size to prevent the possibility of reads outside the mapping. this commit has no observable effects since there are not yet any callers to the message translation code.