summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Protect freelists managed by Balloc/Bfree with a spinlock.tegge2001-02-083-40/+63
| | | | | | | Change __dtoa to not free the string it allocated the previous time it was called. The caller now frees the string after usage if appropiate. PR: 15070
* add lmonetary.?, lnumeric.?, ldpart.?, lmessages.?, nl_langinfo.cphantom2001-02-081-1/+2
| | | | remove lconv.c
* Add SUSv2 compatible nl_langinfo() function. It still need some work, butphantom2001-02-081-0/+130
| | | | this is already usable one.
* Catch up to latest chanage in timelocal structures exporting.phantom2001-02-082-34/+36
|
* Export internal data structures in same manner as numeric/monetary/messagesphantom2001-02-082-8/+14
| | | | | structures exported. Protect timelocal.h from multiple inclusions.
* Make localeconv() actual function. Now it will use LC_MONETARY/LC_NUMERICphantom2001-02-082-79/+65
| | | | information to fill return structure. Remove unused anymore stub.
* Make FreeBSD locale support complete: add support for rest locale categoriesphantom2001-02-089-54/+637
| | | | | | | LC_MONETARY, LC_NUMERIC and LC_MESSAGES. Remove stub functions since they don't need anymore. Reviewed by: silence on -i18n
* Document the cases in which setreuid changes the saved-user-ID.nectar2001-02-081-0/+5
|
* mdoc(7) police: print #ifdef/#endif literally,ru2001-02-081-3/+3
| | | | and as list items (to get the correct offset).
* mdoc(7) police: C types should be declared with either .Ft or .Vt.ru2001-02-081-1/+3
|
* Fix a f^Hdamn typo, which prevented to fopen() more that 17 files at once.sobomax2001-02-071-1/+1
| | | | Tested by: knu, sobomax and other #bsdcode'rs
* mdoc(7) police: Change -filled displays (which just happenru2001-02-0711-13/+13
| | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
* Add list.h to the to be installed header files.asmodai2001-02-061-0/+1
|
* Fix typo: compatability -> compatibility.asmodai2001-02-062-2/+2
| | | | Compatability is not an existing english word.
* Fix typo: compatability -> compatibility.asmodai2001-02-063-3/+8
| | | | | | Compatability is not an existing english word. Add $FreeBSD$.
* Fix typo: seperate -> separate.asmodai2001-02-063-4/+4
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* Fixed prototype of logout() (const poisoning).bde2001-02-061-1/+1
|
* Fixed prototypes. About half of them were wrong (mainly due to constbde2001-02-063-30/+30
| | | | poisoning having not reached here).
* Added used include of <sys/cdefs.h>.bde2001-02-064-0/+16
| | | | Declare all the interfaces documented in usb.3 (2 were missing).
* Fixed C error(s) in synopsis.bde2001-02-066-4/+6
|
* Fixed wrong return type for ftpLoginAf() in synopsis.bde2001-02-051-1/+1
|
* Fixed bitrot in prototype(s) in synopsis.bde2001-02-051-1/+1
|
* Fixed errors in prototypes. Many were hiding under mdoc errors.bde2001-02-051-0/+4
|
* Fixed C error(s) in synopsis. Many were hiding under mdoc errors.bde2001-02-051-1/+1
|
* Fixed errors in prototypes. Many were hiding under mdoc errors.bde2001-02-051-5/+30
|
* Fixed C error(s) in synopsis. Many were hiding under mdoc errors.bde2001-02-051-1/+1
|
* Don't install links for crypt.3 here. There is no crypt.3 here...bde2001-02-051-2/+0
| | | | | Forgotten in: rev.1.58, which was not Submitted by: bde (I requested untangling parts of the crypto mess).
* Remove a sizeof(void *) == sizeof(int) assumption.phk2001-02-041-7/+7
| | | | Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
* Spelling.mckay2001-02-041-1/+1
|
* strcpy -> strlcpy paranoianectar2001-02-021-1/+4
| | | | | Submitted by: Mike Heffner <mheffner@vt.edu> Reviewed by: freebsd-audit
* Fix typo.nik2001-02-022-2/+2
| | | | | PR: docs/23936 Submitted by: Garret Rooney <rooneg@rpi.edu>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-0180-304/+494
|
* s/_thread_sys_write/__sys_write/deischen2001-01-313-6/+6
| | | | Submitted by: Mike Heffner <mheffner@vt.edu>
* Unbreak world by correctly specifying the prototype for __sys_aio_suspend.deischen2001-01-293-3/+3
| | | | | | A make buildworld was done but not with the committed pthread_private.h. Reported by: Manfred Antar <null@pozo.com>
* Add a few ``const''s to silence some -Wwrite-strings warningsbrian2001-01-291-7/+9
|
* _exit in libc is now __sys_exit not __sys__exit.deischen2001-01-297-21/+21
| | | | | | Add another check for thread library initialization (jdp, we really need a way to get _thread_init called at program start before any constructors are run).
* Clean up syscall generation in libc by removing HIDDEN_SYSCALLSdeischen2001-01-2924-254/+79
| | | | | | | | | | | | | | and treating (almost) all system calls the same way: __sys_foo - actual syscall foo, _foo - weak definitions to __sys_foo Change PSEUDO syscalls (currently only _exit and _getlogin) to be __sys_foo (T) and _foo (W). Add $FreeBSD$ to a few files to satisfy commitprep. Suggested by: bde
* Ignore leading witespace in the string given to PacketAliasProxyRule().brian2001-01-291-0/+1
|
* Update Makefile for the new sources.asmodai2001-01-281-1/+5
|
* Call trimdomain properly for ip4 addresses.brian2001-01-281-30/+30
| | | | | PR: 24659 realhostname_sa() stuff submitted by: Jim.Pirzyk@disney.com
* s/err1/errx/.ume2001-01-261-2/+2
| | | | | | http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673 Obtained from: KAME
* Comment only change; s/_thread_sys_/__sys_/deischen2001-01-264-8/+8
|
* Comment change only; s/_thread_sys_/__sys_/deischen2001-01-261-1/+1
|
* Don't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead savesobomax2001-01-251-2/+8
| | | | actual geometry before switching to the graphics mode.
* Set properly the PixelBytes field for 8bits modes.nsouch2001-01-251-0/+2
| | | | Submitted by: Maxim Sobolev <sobomax@FreeBSD.org>
* -pthread -> -lc_rdeischen2001-01-243-3/+3
|
* Add weak definitions for wrapped system calls. In general:deischen2001-01-24306-3478/+3895
| | | | | | | | | | | | | | | | | | | | | | | | | | | _foo - wrapped system call foo - weak definition to _foo and for cancellation points: _foo - wrapped system call __foo - enter cancellation point, call _foo(), leave cancellation point foo - weak definition to __foo Change use of global _thread_run to call a function to get the currently running thread. Make all pthread_foo functions weak definitions to _pthread_foo, where _pthread_foo is the implementation. This allows an application to provide its own pthread functions. Provide slightly different versions of pthread_mutex_lock and pthread_mutex_init so that we can tell the difference between a libc mutex and an application mutex. Threads holding mutexes internal to libc should never be allowed to exit, call signal handlers, or cancel. Approved by: -arch
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-24190-997/+1582
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a new item to kinfo_proc: ki_sflag to mirror p_sflag.jhb2001-01-241-1/+2
|
* Protect against multiple inclusion.sobomax2001-01-241-0/+5
|
OpenPOWER on IntegriCloud