summaryrefslogtreecommitdiff
path: root/lib/libc/nls/msgcat.c
AgeCommit message (Expand)Author
2024-11-03catopen(3): align returned errors with IEEE Std 1003.1™-2024Konstantin Belousov
2023-11-01libc: Purge unneeded cdefs.hWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-03-27libc: Use secure_getenv(3) where appropriateMark Johnston
2020-12-16Implement strerror_l().Konstantin Belousov
2020-10-27Replace literal uses of /usr/local in C sources with _PATH_LOCALBASEStefan Eßer
2020-03-19Fix race condition in catopen(3).Xin LI
2016-08-24Use current locale (f.e. set by thread). It was global locale alwaysAndrey A. Chernov
2016-02-02Move logic to destroy a struct catentry to its own function.Bryan Drewery
2015-02-10When catopen(3) returns an error, it caches the result of that errorBryan Drewery
2012-12-17Fix warning from valgrind when a failed entry is tested.Eitan Adler
2012-09-29libc: Use O_CLOEXEC for various internal file descriptors.Jilles Tjoelker
2010-02-20- More style(9) fixupsGabor Kovesdan
2010-02-09- Deal with some special cases [1]Gabor Kovesdan
2010-01-29- Fix some style(9) bugsGabor Kovesdan
2010-01-25- style(9)Gabor Kovesdan
2010-01-25Cache failing and opened catalogs in catopen() and related functions.Gabor Kovesdan
2005-02-27Bring in NetBSD's improvements and cleanups to NLS subsystem, makingAlexey Zelkin
2005-02-01Cleanup prototypes and remove dead codeAlexey Zelkin
2003-10-29Remove incomplete support for running FreeBSD userland on old NetBSD kernelsTim J. Robbins
2003-05-01Back out the `hiding' of strlcpy and strlcat. Several peopleJacques Vidrine
2003-04-29`Hide' strlcpy and strlcat (using the namespace.h / __weak_referenceJacques Vidrine
2002-10-27Do not include <sys/syslimits.h> directly; it is not intended for generalGarrett Wollman
2002-08-12Now, malloc is fixed, remove ENOMEM hardcodeAndrey A. Chernov
2002-08-07Set errno to ENOMEM for strdup too (due to malloc errno bug)Andrey A. Chernov
2002-08-07Always set errno to ENOMEM after malloc failed (as workaround).Andrey A. Chernov
2002-08-07Close descriptor, if error happens in loadCat()Andrey A. Chernov
2002-08-04Try harder to check lang as path component (".", "..", / inside).Andrey A. Chernov
2002-03-22Fix the style of the SCM ID's.David E. O'Brien
2001-08-13Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov
2001-01-24Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen
2000-09-27Fix typoAlexey Zelkin
2000-09-08Prevent buffer overflow if NLSPATH is too longAndrey A. Chernov
2000-09-05Fully implement NLSPATH processing as described in SUSv2Andrey A. Chernov
2000-09-05Oops! don't set errno to ENOMEM explicitly if malloc() failed.Alexey Zelkin
2000-09-04Finaly cleanup libc/nls code:Alexey Zelkin
2000-09-03Rewrite using stdio. It cause program speedup since eliminates lots of smallAndrey A. Chernov
2000-09-01Treat empty lang as "C" lang tooAndrey A. Chernov
2000-09-01Set rcsid to correct valueAlexey Zelkin
2000-09-01Remove unused indirect references to cat* functions.Alexey Zelkin
2000-09-01Fix memory leak introduced by kris in rev 1.22Alexey Zelkin
2000-09-01setlocale may return NULL, handle this case too by resetting to "C"Andrey A. Chernov
2000-09-01Move protection code down to handle NL_CAT_LOCALE case too.Andrey A. Chernov
2000-09-01Protect from badly formed LANG variableAndrey A. Chernov
2000-08-30catgets: detect if fd becomes invalid after exec and return default responseAndrey A. Chernov
2000-08-05Prevent internal buffer overflow due to expansion of $LANG and/or nameKris Kennaway
2000-01-27Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans
2000-01-12Add three-tier symbol naming in support of POSIX thread cancellationJason Evans
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1998-07-14Provide meaningful errno value on error returnAndrey A. Chernov