summaryrefslogtreecommitdiffstats
path: root/lib/libc/nls (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ntohl() returns uint32_t so it cannot be < 0. Since we're storingmillert2017-04-271-2/+2
| | | | the result in an int check for > INT_MAX instead. OK bluhm@
* Delete casts to off_t and size_t that are implied by assignmentsguenther2016-09-211-3/+3
| | | | | | | or prototypes. Ditto for some of the char* and void* casts too. verified no change to instructions on ILP32 (i386) and LP64 (amd64) ok natano@ abluhm@ deraadt@ millert@
* After removing National Language Support (NLS) from base, stopbluhm2015-11-051-3/+2
| | | | | | | | creating the directory /usr/share/nls. Having a non-existing default path in catopen(3) does not make sense, so remove it. If the user does not specify a NLS path, better fail early than fail because of an empty directory. Remove path form hier(7). OK stsp@ schwarze@ jmc@
* The only thing that was translated into multiple languages in OpenBSDbluhm2015-10-2521-4926/+0
| | | | | | | | | are the errno messages and signal names. Everything else is in English. We are not planning to translate more text. Running a mixed system with less than 1% of the text in native language makes no sense. So remove the NLS support from libc messages. The catopen(3) functions stay as they are. OK stsp@ mpi@
* Unify all the errno names inbluhm2015-10-241-3/+3
| | | | | | | | - include comment - libc errlist - nls C msg - man page OK tedu@
* Verify that opened message catalog is valid, i.e. avoid integer overflowstobias2015-10-231-17/+105
| | | | | | and out of boundary accesses. with input by miod, ok stsp
* Use new framework for wrapping cat{open,gets,close}(), eliminatingguenther2015-09-057-80/+10
| | | | | | _cat* in the process. ok kettenis@
* Move to the <limits.h> universe.deraadt2015-01-161-2/+1
| | | | review by millert, binary checking process with doug, concept with guenther
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-053-9/+9
|
* Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008.stsp2013-06-0121-25/+2168
| | | | | | | | | Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error messages, and rename existing ones to indicate their character sets. catopen(3) now chooses a catalog which matches the locale's encoding, if available. help & ok matthew, man page bits ok jmc, input from naddy and bluhm
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-053-6/+6
| | | | ok guenther millert kettenis
* Fix typos.matthew2012-06-151-2/+2
| | | | ok pig(6)
* Don't call munmap(2) if mmap(2) failed.matthew2011-07-121-2/+1
| | | | ok deraadt@, tedu@
* Update translations: fix EREMOTE and add a bunch of error codes too.guenther2010-01-281-1/+25
| | | | From Vadim Zhukov (persgray at gmail.com)
* sync german translations with recent C.msg changesstsp2009-11-271-0/+24
| | | | "Reads ok" mk@
* Italian translationsgiovanni2009-11-251-0/+24
| | | | "syntax looks good" guenther@
* Danish translations.mk2009-11-241-0/+246
| | | | | (If anyone can suggest a translation for e.g. `breakpoint' that doesn't make me cringe, let me know.)
* - sync with latest additionsjasper2009-11-241-0/+24
| | | | feedback & ok otto@
* Change ENOTSUP's strerror() to "Not supported"guenther2009-11-242-0/+48
| | | | | | | Provide C and Pig locale expansions for errno values from EAUTH to ENOTSUP ok millert@, mk@, go aheads from others who have other translations in the works
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-263-24/+3
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* convert to new .Dd format;jmc2007-05-313-6/+6
|
* spelling, jon@vexed.sederaadt2006-03-151-1/+1
|
* add italian nls; from jwk@xtf.itderaadt2006-03-141-0/+222
|
* missing newlinederaadt2006-03-141-1/+1
|
* zap rcsidespie2005-08-056-24/+6
|
* - sync prototypes and header excerpts to realityjaredy2005-07-221-2/+2
| | | | | | | - punctuation, rewording, typos/spelling, macro, and layout fixes - add crossrefs where relevant ok jmc
* ansify. ok deraadt@ millert@otto2005-03-236-28/+13
|
* Improved translations from Lars Buitinck (lars at fwn.rug.nl) and me.camield2002-04-021-90/+90
| | | | ok wvdputte@, deraadt@
* better translations by Paul Weissmanjufi2002-04-011-16/+16
| | | | deraadt@ okay.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-164-8/+8
|
* -1 -> MAP_FAILEDart2001-05-111-2/+2
|
* Remove trailing blank lines.aaron2000-08-091-2/+1
|
* Consistify naming of RETURN VALUES section.aaron1999-08-312-4/+4
|
* repairsaaron1999-07-053-21/+22
|
* Cleanup xrefs under SEE ALSO. Specifically:alex1999-05-161-3/+3
| | | | | | | - Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
* spellingespie1999-04-221-4/+4
|
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-2/+2
| | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
* availiable -> availableaaron1998-11-041-2/+2
|
* add russian messages supportform1998-08-081-0/+222
|
* Clean up some -Wall flowers.millert1997-07-091-1/+2
|
* french fix from matthieuderaadt1997-06-181-1/+1
|
* catalogs from netbsdderaadt1997-06-184-0/+888
|
* fixed some typos; netbsdprovos1997-06-171-12/+12
|
* Remove dead codetholo1996-09-153-11/+12
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* 1 char oflow; bitblt & deraadtderaadt1996-09-051-5/+5
|
* use issetugid() to protect against bad getenvderaadt1996-08-261-8/+6
|
* Fix RCS idstholo1996-08-1910-16/+28
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* No longer usedtholo1996-08-191-0/+0
|
* from jtc; Ensure user can't make us overrun fixed sized buffers.deraadt1996-06-231-49/+64
| | | | | | Merged in changes from branch (make sure all memory, file descriptors, mappings, etc. are freed and return (nl_catd) -1 on error). Also fix one minor bug and clean up NLSPATH parsing a bit more.
* exit nicely, error out nicelyderaadt1996-06-102-22/+24
|