summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2013-07-12major bump after asr symbols changesEric Faurot
2013-07-12Make some symbols static and prefix all visible symbols with asr_Eric Faurot
to prevent collisions with third-party programs. suggested by sthen@, ok theo@
2013-07-10rfc 3493 obsoletes 2553. i spotted this after reading hiroki sato's changesJason McIntyre
in freebsd src commit r253066. our man pages had been updated, but i must have missed the following: - getnameinfo.3: 2553 -> 3493 - ip6.4: we listed both. remove 2553.
2013-07-06functions, not macros; from Daniel DickmanJason McIntyre
ok guenther
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-07-05VAX ELF userland bits. Consists mostly of register prefix additions.Miod Vallat
2013-07-03test LDBL_MANT_DIG == DBL_MANT_DIG instead of hardcoding 53.Marc Espie
-> test becomes meaningful on vax No actual change, no bump okay martynas@
2013-06-29do not use Sx for sections outwith the page;Jason McIntyre
man4 still to go...
2013-06-17Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options,Philip Guenther
including CLOCK_{PROCESS,THREAD}_CPUTIME_ID constants and {clock,pthread}_getcpuclockid() functions. Worked out at t2k13 with help from tedu@ and matthew@ and testing by aja@ ok matthew@
2013-06-11bcopy (and family) can check for 0 length, but negative lengths shouldTheo de Raadt
proceed through to crash and show the bug. ok miod
2013-06-11spacingTheo de Raadt
2013-06-09sort;Jason McIntyre
2013-06-09Constify the mib argument of sysctl().Miod Vallat
ok matthew@ millert@
2013-06-09add some basic descriptions for the fuse sysctlsTed Unangst
2013-06-08Fix parsing of ambiguous options, the whole loop must be processed.Todd C. Miller
From FreeBSD. OK miod@
2013-06-08Add new sysctl for pipex packet input/output queue length andYASUOKA Masahiko
counters. ok guenther, feedback jmc
2013-06-05On second thought, do not use a tcnd instruction to test for divide-by-zero,Miod Vallat
as it forces a pipeline synchronization; replace it with a bcnd + unconditional trap, to only synchronize when the trap is needed.
2013-06-05...also add __modsi3 and __umodsi3, and make these symbols weak by default.Miod Vallat
2013-06-05[[:>:]] anchors the character preceding it to end of word, not theJason McIntyre
character following it; From: Peter Fraser
2013-06-05Add __divsi3 and __udivsi3 gcc-compatible routines. Not used by anything yetMiod Vallat
(as gcc does not emit code calling them), but will be shortly; belatedly riding the libc minor bump.
2013-06-05Move _Exit() from the exit() manpage to the _exit() manpage, as it'sPhilip Guenther
just an alias of the latter. ok matthew@ tedu@
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-06-04remove some incredible lies about overlapping buffersTheo de Raadt
ok guenther
2013-06-02Add mentions about net.mpls and net.inet.ip.ifq.YASUOKA Masahiko
input from jmc claudio
2013-06-02Two small cleanups to atexit: remove unneeded __atexit_invalid, andMatthew Dempsky
move the call_depth decrement so it happens unconditionally and can still return to 0 when called with dso!=NULL. ok millert
2013-06-02fix id, from bradTed Unangst
2013-06-02Fix wcsto{f,d,ld}() C99 compliance to now correctlyMatthew Dempsky
1. handle "inf", "infinity", "nan", and "nan(whatever)", 2. reject bare minus and plus signs, 3. handle multi-byte characters, and 4. set *endptr = nptr for all failure cases. Fixes libc++'s test cases for std::sto{f,d,ld}(). ok stsp
2013-06-02improve the divert-* description a bit moreSebastian Benoit
ok lteo & jmc
2013-06-01Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008.Stefan Sperling
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
2013-06-01Change the naming scheme used for directories in /usr/share/locale toStefan Sperling
eliminate redundant copies of LC_CTYPE files. Instead of names using "language_territory.codeset" permutations, use just the codeset component to name directories storing LC_CTYPE files. Suggested by bluhm@ while discussing the idea of using symlinks in /usr/share/locale like FreeBSD does. Future locale features which store language and/or territory specific data can name directories after language or territory names.
2013-06-01tweak previous;Jason McIntyre
2013-06-01reorder syslog params descr to make sense, and minor tweaks, plus jmc@'sMarc Espie
input. okay jmc@, schwarze@
2013-06-01Move search domain iteration code in res_search_async.c where it belongs.Eric Faurot
2013-06-01Make hostaliases work for gethostbyname() and getaddrinfo() whenEric Faurot
looking into /etc/hosts. Remove the alias check from the search domain iteration. Instead, take a shortcut to res_query_async_ctx() in res_search_async_ctx().
2013-06-01Update asr_hostaliases() to make all necessary checks in the function.Eric Faurot
Explicitely check for issetguid() before calling getenv(). Also make asr_hostalias() callable from other parts of asr too.
2013-06-01Add utrace(2), a system call allowing for userland to send its own ktraceMiod Vallat
records. From FreeBSD via otto@, with tweaks suggested by guenther@. Commite on behalf of otto@ who is not around, to ride the libc minor bump. Causes a librthread minor bump as well (new syscall).
2013-06-01iterating over the ns list only matters for res_send_async.c, so moveEric Faurot
things around.
2013-06-01no need to cast nullTed Unangst
2013-06-01string.h defines null for usTed Unangst
2013-06-01no need to cast nullTed Unangst
2013-05-31doesn't need any headersTed Unangst
2013-05-31minor tweaksTed Unangst
2013-05-31fixieTed Unangst
2013-05-31Add getprogname() and setprogname() to ease slackers^porters' work.Antoine Jacoutot
Man page adapted from FreeBSD and NetBSD. Bump libc minor now (there will be more upcoming changes). input from tedu@ get it in deraadt@
2013-05-31On NOTE_EXIT event of EVFILT_PROC, store the exit status in kn_data.YASUOKA Masahiko
ok guenther tedu deraadt
2013-05-31add shm_open and friends which i have been told ports programs wouldTed Unangst
like to use. ok deraadt guenther
2013-05-30Sort includes. From Vladimir Tamara Patino <vtamara@pasosdeJesus.org>Stefan Sperling
2013-05-30Remove useless include.Antoine Jacoutot
ok millert@
2013-05-29use paramaters instead of static storage in _gethostbyname()Eric Faurot
2013-05-27Add minimal support for _res setup and update.Eric Faurot
Change res_init() to initialize the _res structure on first call, and udpate the global async context if changes were made by the user. All resolver functions now call res_init() internally. fixes issue spotted by otto@