summaryrefslogtreecommitdiffstats
path: root/lib/libc/nls
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-013-3/+3
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-131-3/+2
|
* Remove whitespace at EOL.dd2001-07-153-17/+17
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Use .Rv macro instead of hardcoded messagephantom2001-02-121-6/+1
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* Prepare for mdoc(7)NG.ru2000-12-291-1/+0
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Fix typophantom2000-09-271-1/+1
| | | | | PR: misc/21596 Submitted by: TOGAWA Satoshi <toga@puyo.org>
* Prevent buffer overflow if NLSPATH is too longache2000-09-081-1/+7
|
* Add .Elache2000-09-061-0/+1
|
* Document %-macros and NLSPATH better.ache2000-09-051-1/+41
|
* Fully implement NLSPATH processing as described in SUSv2ache2000-09-051-8/+45
|
* Oops! don't set errno to ENOMEM explicitly if malloc() failed.phantom2000-09-051-6/+10
| | | | Found by: ache
* * move $FreeBSD$ tag to its usual place (bottom of copyright)phantom2000-09-043-10/+30
| | | | | | | * mdoc cleanup * document missing errno values (ERRORS section) Reviewed by: sheldonh
* Finaly cleanup libc/nls code:phantom2000-09-041-196/+163
| | | | | | | | | | | | | * rewrite catopen() to remove duplicate code chunks and optimize * if empty string is passed to catopen() as name argument then catopen() will set errno to ENOENT (File not found), not EINVAL * move search code to LOOKUP() macro to shrink amount of duplicated code * move common resource freeing actions to __nls_free_resources() function * exclude from build code related to MCLoadAll defintion since it is not using at all * style(9) related whitespace changes Reviewed by: ache
* Rewrite using stdio. It cause program speedup since eliminates lots of smallache2000-09-032-14/+15
| | | | | read() syscalls. It not cause static binary size increasing because stdio already picked via setlocale() called from catopen()
* Treat empty lang as "C" lang tooache2000-09-011-1/+1
|
* Set rcsid to correct valuephantom2000-09-011-24/+6
| | | | | Resort #include files Remove SYSV compatibility chunks
* protect .h file contents correctly.phantom2000-09-011-18/+3
|
* Remove unused indirect references to cat* functions.phantom2000-09-015-83/+4
|
* Fix memory leak introduced by kris in rev 1.22phantom2000-09-011-0/+2
|
* setlocale may return NULL, handle this case too by resetting to "C"ache2000-09-011-5/+3
|
* Move protection code down to handle NL_CAT_LOCALE case too.ache2000-09-011-2/+3
|
* Protect from badly formed LANG variableache2000-09-011-1/+2
|
* catgets: detect if fd becomes invalid after exec and return default responseache2000-08-301-6/+6
| | | | cosmetique, use NULL for pointers comparison
* Explicetely describe catalog descriptor lifetimeache2000-08-301-0/+6
|
* Prevent internal buffer overflow due to expansion of $LANG and/or namekris2000-08-051-3/+11
| | | | | | argument in catopen(). Reviewed by: chris, -audit
* Introduce ".Lb" macro to libc manpages.phantom2000-04-213-0/+6
| | | | More libraries manpages updates following.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-021-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-271-8/+8
| | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-121-8/+9
| | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read().
* Add gencat(1) to SEE ALSO section.phantom1999-09-223-0/+3
| | | | | PR: docs/13658 Submitted by: Zahemszky Gabor <zgabor@code.hu>
* $Id$ -> $FreeBSD$peter1999-08-289-9/+9
|
* Provide meaningful errno value on error returnache1998-07-141-5/+17
|
* Add reference to setlocale(3)ache1998-04-301-2/+3
|
* Return -1 for invalid descriptor in catcloseache1998-04-301-2/+2
|
* If passed catgets descriptor is NULL or -1, return default string immediatelyache1998-04-301-1/+3
|
* Force loadType to 0ache1998-04-301-5/+4
|
* Implement NL_CAT_LOCALEache1998-04-304-12/+33
| | | | Manpages cleanup
* Prototypes/typedefs cleanupache1998-04-302-21/+22
| | | | Fix error return codes
* Add #ifndef __NETBSD_SYSCALLS around calls to issetugid() whichjb1998-01-151-2/+6
| | | | do not exist in NetBSD 1.3.
* Removed the subdirectory paths from the definitions of MAN[1-9]. Theybde1997-10-151-3/+2
| | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
* Plug even more failure memory leaksache1997-05-101-6/+32
|
* Cleanupache1997-05-101-21/+26
| | | | | | Plug failure memory leaks Use issetugid now PR: 3492
* Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-05-031-2/+7
| | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
* Restricting $LANG was a really bad ideaimp1997-03-251-4/+2
| | | | Pointed out by: Everybody but Jordan.
* Don't honor LANG or NLSPATH if we're setuid/setgid.imp1997-03-241-3/+8
| | | | | | Fixes PR 2582 Submitted by: Julian Assange
* Revert $FreeBSD$ to $Id$peter1997-02-228-8/+8
|
* Sort cross references.wosch1997-01-201-2/+2
|
OpenPOWER on IntegriCloud