summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update with new error return code.phk2002-08-091-0/+4
| | | | Reminded by: rwatson
* mdoc(7) police: spelling.ru2002-08-091-1/+1
|
* mdoc(7) police: tidy up the formatting.ru2002-08-091-81/+115
|
* mdoc(7) police: punctuation.ru2002-08-091-1/+1
|
* mdoc(7) police: sort xrefs.ru2002-08-091-2/+2
|
* mdoc(7) police: punctuation.ru2002-08-091-1/+1
|
* mdoc(7) police: whitespace nits.ru2002-08-091-2/+4
|
* mdoc(7) police: laundry.ru2002-08-091-22/+37
|
* mdoc(7) police: laundry.ru2002-08-091-9/+14
|
* Make sure we set errno sensibly in case of failure.phk2002-08-091-0/+7
| | | | Spotted by: ache
* Introduce a new error return code:phk2002-08-091-0/+3
| | | | | | #define EDOFUS 88 /* Programming error */ This can be used to signal error situations which indicate that the program logic or assumptions is deficient.
* Add safeguards to never use errno == 0 as setrunelocale() error return codeache2002-08-093-7/+5
|
* Update TE policy and MAC text conversion routines to support partialrwatson2002-08-092-10/+71
| | | | | | | | | | label updates. Biba and MLS already supported this. This permits the userland library to submit relative updates on MAC labels, rather than submitting an entire label to replace the current label. This also requires changes to the MAC modules, which are forthcoming. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* X-ref mac.3.rwatson2002-08-091-0/+1
|
* Use '_end' symbol instead of 'end' to initialize minbrk and curbrkkan2002-08-082-6/+6
| | | | | | | | | | | | | variables. Both symbols are set to the same value by the linker, and _end symbol has less chances to clash with application defined global symbols. alpha, ia64 and sparc64 ports already use _end, i386 is now consistent with them. Reviewed by: bde Approved by: obrien Reported by: pirzyk
* Rewrite locale loading procedures, so any load failure will not affectache2002-08-0811-192/+259
| | | | | | | | currently cached data. It allows a number of nice things, like: removing fallback code from single locale loading, remove memory leak when LC_CTYPE data loaded again and again, efficient cache use, not only for setlocale(locale1); setlocale(locale1), but for setlocale(locale1); setlocale("C"); setlocale(locale1) too (i.e. data file loaded only once).
* Implement POSIX.1-2001 (XSI)'s ulimit(3).mike2002-08-084-3/+172
| | | | Submitted by: Kyle Martin <mkm@ieee.org>
* Set errno to ENOMEM for strdup too (due to malloc errno bug)ache2002-08-071-3/+4
|
* Always set errno to ENOMEM after malloc failed (as workaround).ache2002-08-071-8/+8
| | | | Our malloc sometimes forget to set errno, f.e. for size overflow case.
* Reset __mb_cur_max to 1 when "C" or "POSIX" locales loaded after multibyte oneache2002-08-071-0/+1
|
* Fix wrong address when EucInfo > "variable" sizeache2002-08-071-1/+1
|
* Correct an inaccuracy in this man page regarding detecting empty fields.archie2002-08-071-4/+5
| | | | MFC after: 2 days
* Document file descriptor reopening and current standardization status.wollman2002-08-071-0/+19
|
* Style fixes in preparation for rewrittingache2002-08-071-15/+15
|
* Style fixesache2002-08-071-9/+6
|
* Style fixes in preparation of code rewrittingache2002-08-074-34/+43
|
* Close descriptor, if error happens in loadCat()ache2002-08-071-0/+6
|
* Build iswctype.c and manual pages for the functions it defines.tjr2002-08-061-3/+12
|
* o Fix a memory leak.mike2002-08-051-11/+15
| | | | | | o Rewrite validmsgverb() so that it works (I'm not sure how it escaped my original testing). o Document nextcomp().
* Add missing prototypes for extension functions to the SYNOPSIS.tjr2002-08-051-0/+14
|
* Use In macro instead of Fd. Add crossref to wctype(3). Refer to 1003.1-2001tjr2002-08-051-4/+31
| | | | in STANDARDS section. Document functions which are extensions to the standard.
* Use the In macro instead of Fd. Add crossref to wctrans(3). Refer totjr2002-08-051-3/+4
| | | | 1003.1-2001 in STANDARDS section.
* Implement the missing <wctype.h> functions: isw*() (iswalnum() etc.),tjr2002-08-051-0/+213
| | | | | | | | towlower() and towupper() required by ISO C90 Amd. 1. iswascii(), iswhexnumber(), iswideogram(), iswnumber(), iswphonogram(), iswrune() and iswspecial() have also been implemented for consistency with the BSD extensions in <ctype.h>.
* Reject encoding > ENCODING_LEN at early stage instead of truncating it.ache2002-08-051-19/+35
| | | | | Use ptr == NULL instead of !ptr in few places. Move saverr declaration to global section.
* Manual pages for wide character classification (isw*) and case conversiontjr2002-08-052-0/+192
| | | | | | (tow*) functions from NetBSD, unmodified except for the addition of $FreeBSD$. Obtained from: NetBSD
* Implement POSIX.1-2001 (XSI)'s fmtmsg(3).mike2002-08-054-2/+473
|
* Try harder to check lang as path component (".", "..", / inside).ache2002-08-041-307/+345
| | | | | Try harder to not overwrite failure errno. style(9) whitespace reformatting for code readability.
* Change wctype_t to an unsigned type to avoid warnings.tjr2002-08-041-1/+1
|
* Add the ISO C90 Amd. 1 wctrans(3) and towctrans(3) functions.tjr2002-08-043-2/+196
|
* Add btowc(3) to SEE ALSO section.tjr2002-08-041-0/+1
|
* Use errno to indicate failure reason.ache2002-08-041-12/+18
| | | | | Remove incomplete checks for 'name' and 'PatchLocale', they must be already checked at this point.
* Fixed some style bugs (unsorting of MLINKS, and more than 1 assignment tobde2002-08-041-3/+3
| | | | MAN per section).
* Updated libc/libc_r that fixes the FreeBSD-SA-02:28.resolv resolver bug.obrien2002-08-045-9633/+7154
| | | | Submitted by: Trevor Johnson <trevor@jpj.net>
* Rewrite loadlocale() to eliminate LOAD_CATEGORY macro to save space.ache2002-08-041-28/+27
|
* Nonexistent SIZE_MAX -> SIZE_T_MAXache2002-08-041-1/+1
|
* Signal an error instead of giving the caller less memory than they askedtjr2002-08-041-0/+7
| | | | | | for when num * size would cause integer overflow. MFC after: 1 week
* Add ERRORS section according to POSIX (no errors)ache2002-08-031-0/+2
|
* Catch empty encoding name tooache2002-08-031-1/+1
|
* Fix return codes to match what setrunelocale() returnsache2002-08-031-5/+2
|
* Preserve errno in fallback codeache2002-08-031-0/+3
|
OpenPOWER on IntegriCloud