summaryrefslogtreecommitdiff
path: root/lib/libc/locale/setlocale.c
AgeCommit message (Expand)Author
2024-08-18Pull in <stdio.h> (for snprintf()) directly instead ofPhilip Guenther
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2018-03-29Resolve some code duplication.Ingo Schwarze
2018-03-29Fix three bugs in setlocale(3):Ingo Schwarze
2017-09-05New POSIX xlocale implementation written from scratch.Ingo Schwarze
2017-08-05We only support ASCII and UTF-8, so we never need toIngo Schwarze
2016-05-23Stop exposing <sys/localedef.h> and various symbols internal to the libcPhilip Guenther
2015-09-14Wrap <locale.h> so internal calls go directPhilip Guenther
2015-08-14Load LC_MESSAGES locale only if the character encoding is UTF-8.Stefan Sperling
2015-07-02remove new_categories variable from global.semarie
2015-06-09Remove unused parameter of load_locale_sub(). No assembly change on i386.Stefan Sperling
2013-08-28Allow setlocale(LC_MESSAGES, ...); to succeed. This always returned anStefan Sperling
2013-06-01Change the naming scheme used for directories in /usr/share/locale toStefan Sperling
2011-03-15Remove evaluation of PATH_LOCALE environment variable because it can beStefan Sperling
2007-11-28remove unused functionCharles Longeau
2007-09-17Check snprintf(3) return value for error or truncation.Moritz Jodeit
2007-09-06_xpg4_setrunelocale() returns an errno(2) value in the failureMoritz Jodeit
2005-08-08zap remaining rcsid.Marc Espie
2005-08-08activate LC_CTYPE for 8 bits locale.Marc Espie
2005-03-23ansify. ok deraadt@ millert@Otto Moerbeek
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-09-17typoJun-ichiro itojun Hagino
2002-09-17correct possible buffer overrun in setlocale(x, y) where y is supplied fromJun-ichiro itojun Hagino
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
1997-07-09Clean up some -Wall flowers.Todd C. Miller
1996-10-29POSIX compliance.Todd C. Miller
1996-09-15Remove dead codeThorsten Lockert
1996-08-26use issetugid() to protect against bad getenvTheo de Raadt
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt