History log of /netbsd-src/lib/libintl/gettext.c (Results 1 – 25 of 33)
Revision Date Author Comments
# 9b2f4799 18-Aug-2024 christos <christos@NetBSD.org>

Avoid undefined behavior.


# 28614955 13-Apr-2024 christos <christos@NetBSD.org>

PR/58136: Paul Ripke: Fix use after free.


# b490ea0c 03-Oct-2019 christos <christos@NetBSD.org>

provide sizes so that we don't truncate accidentally.


# 82974f22 04-Feb-2019 mrg <mrg@NetBSD.org>

check for snprintf() truncation and fail sanely if so, rather than
attempting to use a file that won't exist or isn't secure.


# 5297022a 29-May-2015 christos <christos@NetBSD.org>

Patch from William Orr in tech-userlevel:

- Added most *p*gettext functions
- Added basic function to concat msgctxt and msgid
- Simplify free handling

Need to write tests.


# 5c3967c0 30-Jul-2012 yamt <yamt@NetBSD.org>

comments


# e1a2f47f 21-Mar-2012 matt <matt@NetBSD.org>

Use C89 function definition


# dc7498df 21-Jan-2012 tnozaki <tnozaki@NetBSD.org>

libintl crash when *.mo file lacks header section(old gettext format).
reported by jun@ -san, tested by tsutsui@ -san. thanks!


# 4271bf2e 25-Sep-2007 junyoung <junyoung@NetBSD.org>

Massive cosmetic changes, notably:
* ANSIfy
* De-__P
* u_intXX_t -> uintXX_t
* Remove "extern" from function prototypes


# 9f3f3adf 01-Jun-2005 lukem <lukem@NetBSD.org>

appease gcc -Wuninitialized


# 62de7e0c 15-May-2005 yamt <yamt@NetBSD.org>

dcngettext: don't return stack garbage when there's no usable database.


# dd416aa8 14-May-2005 tshiozak <tshiozak@NetBSD.org>

add plural support.


# 4882631e 27-Apr-2005 yamt <yamt@NetBSD.org>

correct size to malloc.


# 922c0d00 23-Sep-2004 tshiozak <tshiozak@NetBSD.org>

add system dependent strings support.
this hopefully allows to use .mo files generated by gettext-0.12 or later.


# 29be49b4 23-Sep-2004 tshiozak <tshiozak@NetBSD.org>

- add hash table support.
- make use of __UNCONST() instead of LINTED.


# f3ec2d57 18-Jan-2004 yamt <yamt@NetBSD.org>

implement gettext implicit iconv and bind_textdomain_codeset.


# 80474707 05-Jan-2004 itojun <itojun@NetBSD.org>

sys/types.h is not needed here. kevlo@openbsd


# 0169ab0a 02-Jan-2004 itojun <itojun@NetBSD.org>

minor KNF


# edffd458 02-Jan-2004 itojun <itojun@NetBSD.org>

use strlcpy


# 2c76065b 09-Mar-2003 lukem <lukem@NetBSD.org>

enable __RCSID() (no need to protect in LIBC_SCCS or !__lint)


# 6c208635 13-Feb-2002 yamt <yamt@NetBSD.org>

- give the precedence to LC_ALL environment variable
than other LC_* variables.


# 7cd60a32 29-Dec-2001 yamt <yamt@NetBSD.org>

fix a bug that uninitialised buffer is used when LANG is like "en_US".


# 0c36fb14 09-Dec-2001 yamt <yamt@NetBSD.org>

allow relative pathnames as a dirname argument of bindtextdomain(3)
since some autoconf configure scripts depends on this behavior.


# 782b5c88 27-Sep-2001 yamt <yamt@NetBSD.org>

- change mofile search order according to manpage(=li18nux2000).
- there is no need to fail even if strdup for odomainname&ocname were failed.
- don't modify lpath in lookup_mofile since it may used

- change mofile search order according to manpage(=li18nux2000).
- there is no need to fail even if strdup for odomainname&ocname were failed.
- don't modify lpath in lookup_mofile since it may used later(copied to olpath)

(sync with citrus)

show more ...


# 3bad25dc 16-Feb-2001 minoura <minoura@NetBSD.org>

Sync w/ Citrus.
Do not unmap mo files to make sure the gettext() return values are
valid even when multiple mo files are accessed by turns.
Some applications (GNOME, etc) depends on this behaviour of

Sync w/ Citrus.
Do not unmap mo files to make sure the gettext() return values are
valid even when multiple mo files are accessed by turns.
Some applications (GNOME, etc) depends on this behaviour of GNU's
implementation.

show more ...


12