summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/imaxabs.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-05Move _Exit() from the exit() manpage to the _exit() manpage, as it'sguenther2-36/+10
just an alias of the latter. ok matthew@ tedu@
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu113-379/+379
2013-06-04remove some incredible lies about overlapping buffersderaadt2-22/+10
ok guenther
2013-06-02Two small cleanups to atexit: remove unneeded __atexit_invalid, andmatthew2-12/+5
move the call_depth decrement so it happens unconditionally and can still return to 0 when called with dso!=NULL. ok millert
2013-06-02trailing whitespace makes 'make depend' sad. ok mpi@dtucker1-2/+2
2013-06-01Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008.stsp1-2/+2
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-05-30Switch to using unhyphenated VIA padlock mnemonics. VIA abandoned thematthew2-4/+4
hyphen in their official programming guide sometime between 2003 and 2005, and Clang's integrated assembler does not support hyphenated mnemonics. ok jsg, deraadt
2013-05-30Remove useless include.ajacoutot1-2/+1
ok millert@
2013-05-15typo: compare len against null needle, not haystackajacoutot1-2/+2
from Alf Schlichting ok millert@
2013-05-13Add an implementation of memmem() -- from FreeBSD with some tweaks.ajacoutot3-4/+145
Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon. joint work with millert@ man page bits ok jmc@ input and ok millert@, guenther@, deraadt@
2013-05-02Hook up fmemopen and open_memstream tests.mpi1-3/+4
2013-04-29use FD_CLOEXEC instead of 1; from David Hillokan1-2/+2
ok otto
2013-04-21tweak a few commentstedu1-5/+7
2013-04-21this man page is mostly about password hashing now (you really don'ttedu1-18/+5
want to be using DES) and some of the notes about the export controls are no longer so relevant. ok deraadt jmc
2013-04-20Xr encrypt(1) to give people a hint if they just want a password stringtedu1-2/+3
2013-04-17surround the error strings with quotes to clarify exactly which stringstedu1-5/+5
the function is going to return.
2013-04-17the tiniest of style tweakstedu1-7/+7
2013-04-17add some prototypes, casts, includes, parenthesis, and whatnot totedu3-7/+10
silence some warnings.
2013-04-17use CLOCK_MONOTONIC, and repair future time_t overflowderaadt1-8/+8
ok millert guenther
2013-04-05- Add comments regarding copies of these files also in libexec/ld.sokurt1-1/+3
okay guenther@
2013-04-03Update a comment about standards requirementsguenther1-4/+4
2013-04-03Set the stream orientation in open_{,w}memstream().guenther1-1/+15
Check it in the regress test ok mpi@
2013-04-01tweak makefile now that asr is built by default.eric1-10/+10
2013-04-01add hostnames which triggered some bugs.eric1-2/+2
2013-03-31getaddrinfo is now thread-safe.brad1-6/+2
ok eric@
2013-03-28Switch libc and libm to use strong aliases rather than weak aliasesmartynas2-22/+4
where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@.
2013-03-28add a test case for the icmpv6 issue spotted by naddyeric4-10/+26
2013-03-28More tests for negative seeks, prodded by matthew@mpi2-2/+63
2013-03-27More test cases, especially when opening the stream in append an writempi1-8/+113
modes.
2013-03-26protect the PRG state with a mutex in res_randomid().eric1-2/+13
ok deraadt@ guenther@ djm@
2013-03-25Add some more tests; prodded by mpi@guenther1-12/+58
2013-03-20Use a realloc() loop around the sysctl() for NET_RT_IFLIST, in case anderaadt1-9/+21
interface is added at just the right... wrong moment. ok millert dlg
2013-03-20Don't shutdown nc(1)'s network socket when stdin closes. Matches *Hobbit*'ssthen2-7/+17
original netcat and GNU netcat; revert to old behaviour with the new -N flag if needed. After much discussion with otto deraadt tedu and Martin Pelikan. ok deraadt@
2013-03-15threadsafe random().tedu1-8/+43
reported by ajacoutot and (much earlier, sorry) by Alexey Suslikov
2013-03-12Add check that mkstemp() fails with EINVAL if the string has fewer thanguenther1-4/+13
6 Xs
2013-03-12All accept() errors are considered fatal, until someone gives a differentderaadt1-4/+5
reason. No code changed, just documenting it...
2013-02-14cherry pick bugfixes for http://www.openssl.org/news/secadv_20130205.txtmarkus30-557/+2564
from the openssl git (changes between openssl 1.0.1c and 1.0.1d). ok djm@
2013-01-26remove ACSS, crank libcrypto major; ok markus@ deraadt@djm14-882/+4
2013-01-15Don't pull <math.h> just because it can return HUGE_VAL in themartynas1-3/+2
corner cases. OK millert@.
2013-01-01Simple tests for fmemopen(3) and open_memstream(3)mpi4-0/+175
2012-12-22Fix bug in random offset introduced in rev 1.143; random range wasotto1-3/+3
expanded, but not enough due to precedence error. Spotted by Thorsten Glaser.
2012-12-17add test case for gethostbyname() called with numeric hostnameeric1-1/+2
2012-12-16- use diff -u like most anywhere to make the output readable.jasper1-2/+2
ok phessler@
2012-12-12document RES_USE_DNSSEC; text tweaked by sthenjmc1-2/+6
ok jakob
2012-12-05Remove excessive sys/cdefs.h inclusionderaadt2-5/+2
ok guenther millert kettenis
2012-12-05no need for .Pp before lists;jmc1-3/+2
2012-12-04Rewritten posix_openpt manual that doesn't include any of the POSIXmillert1-74/+49
text. OK deraadt@
2012-12-04Use "path name" not "pathname".millert1-3/+3
2012-12-04remove some unnecessary sys/param.h inclusionsderaadt1-3/+1
2012-12-03Simple emulation of POSIX pty APIs posix_openpt(), ptsname(),millert4-6/+414
grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD. OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@