BSD gettext

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема BSD gettext
Дата
Msg-id Pine.LNX.4.30.0105222006170.757-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: BSD gettext  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
http://www.postgresql.org/~petere/gettext.html

This is a compilation of the BSD-licensed gettext tools from NetBSD plus
some of my own code, put into a (hopefully) portable package, intended to
be evaluated for possible use in PostgreSQL.  Give it a try if you're
interested.  I've already tried it on FreeBSD, Linux, and Unixware, so
don't bother with those.

I feel that this is ready to go.  NetBSD is using it in production as a
GNU gettext replacement, even for large packages.  The .mo file format is
pretty simple actually, so if issues came up we could tackle them
ourselves.

As for portability, the fanciest feature it uses is mmap(), but only to
map a real file into memory to read it there.  The missing functions
(strlcat, strlcpy, strsep) I've worked around with autoconf, the rest
looks all like basic POSIX stuff.

So I suppose if this looks okay I will start trying to work out how we can
use this for PostgreSQL.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



В списке pgsql-hackers по дате отправления:

Предыдущее
От: ncm@zembu.com (Nathan Myers)
Дата:
Сообщение: Re: C++ Headers
Следующее
От: bpalmer
Дата:
Сообщение: Re: Not released yet, but could someone take a quick peak ...