summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-06-03crank libc majorTheo de Raadt
2009-06-03Take advantage of the surprise libc bump to bring inIngo Schwarze
YP group(5) exclusion, i.e. support -groupname:*:: in /etc/group. Such groups will be excluded from later +:*::, in just the same was as it is already done for passwd(5). I have been running this since the autumn of 2008. Discussed with several (including deraadt@, millert@, jmc@).
2009-06-03Make putenv(), setenv() and unsetenv() standards compliant. TheTodd C. Miller
standard explicitly disallows passing setenv a name with a '=' in it but historic BSD behavior is to allow this but to ignore the '=' and anything after it.
2009-06-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵Janne Johansson
arches. ok todd@ beck@
2009-06-03Don't postpone memory allocation for the error message to the error handler:Ingo Schwarze
That way, memory exhaustion simply cannot be reported because it would require to... allocate memory. Instead, really use a statical buffer as it is advertised in the manual. "looks good" millert@
2009-06-02Set errno to EINVAL when fgets is given a non-positive size.Ray Lai
OK millert otto
2009-06-02- define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13)Jasper Lievisse Adriaanse
hint from claudio@, ok millert@
2009-06-02When authnone_create fails, do not leave behind a NULL cl_auth attribute,Ingo Schwarze
because that one will typically derefenced later without any checking. Instead, flag the error condition and bail out cleanly. useful feedback from kjell@ and ok millert@
2009-06-02make the documentation of {svc,clnt}*create complete and correctIngo Schwarze
ok millert@ jmc@
2009-06-02tweak previous;Jason McIntyre
2009-06-01When an RPC client program encounters ENOMEM while trying to printIngo Schwarze
an error message, rather skip the error message than dereferencing a NULL pointer. debugging help and ok kjell@
2009-06-01Use the md atomic code on mips64 instead of the horrid slow code. Should haveMiod Vallat
been noticed much time ago, but better late than never.
2009-06-01A much better atomic lock routine.Miod Vallat
2009-06-01Correct the _atomic_lock() asm so that gcc accepts the constraintsPhilip Guenthe
when compiling without optimization; fix copied from the kernel's atomic.h ok miod@
2009-06-01Split getpw{nam,uid} off into their own man page. Hopefully, thisTodd C. Miller
will help people understand that endpwent() is not normally needed. OK deraadt@ jmc@
2009-05-25add ipsCA as a valid authority.David Gwynne
ok beck@
2009-05-16don't set mode in sio_setpar(), already done at initializationAlexandre Ratchov
2009-05-16add a new ``hello'' message to aucat protocol useful to work onAlexandre Ratchov
future aucat extentions. No functional changes.
2009-05-16fix style to make future diffs contain functional changes onlyAlexandre Ratchov
2009-05-16in aucat_getpar() and aucat_getcap(), initialize the message to sendAlexandre Ratchov
with AMSG_INIT(), rather than the reply we expect.
2009-05-15cleanup forgotten calls to exit(3)Alexandre Ratchov
2009-05-15replace s/sa/sio/, left from when libsa was renamed to libsndioAlexandre Ratchov
2009-05-15in headers, macro definitions come first, prototypes come nextAlexandre Ratchov
2009-05-15if DEBUG is defined, use a global debug level ratherAlexandre Ratchov
than a per-stream debug level. No behaviour change.
2009-05-15describe sio_getcap(), sio_pollfd() and sio_setvol() retrurn valuesAlexandre Ratchov
spotted by Philipp Schafft
2009-05-06Document AI_NUMERICSERV; feedback and ok millert@Jacek Masiulaniec
2009-05-03Fix signed vs unsigned issue with memcmp/strncmp where the size parameterDale Rahn
was incorrectly being treated as signed. ok miod@
2009-04-29document that bogus lines are silently ignoredTheo de Raadt
ok millert
2009-04-29Remove the stderr spray balony. Library functions should indicate failureTheo de Raadt
(and libc and some others can use errno to indicate more detailed results). They should not print trash to stderr, let alone assume that stderr is open to the place they think it is. ok millert
2009-04-29junk spaceTheo de Raadt
2009-04-25fix scalbn, scalbnf, frexpf on amd64. don't use double argMartynas Venckus
float/double prologue/epilogue, since the second argument is not float/double. were never working properly (always returned inf). actually, should help other math funcs (like pow) too, since they use it internally tested by kurt@; devel/boost fp regresses are working better now. ok kurt@
2009-04-22Correct the declaration of the dladdr() stub so that it has the correctPhilip Guenthe
lint information originally ok'ed deraadt@ right before the 4.5 tree lock
2009-04-21alias and give frexpf symbol external linkage to scalbnf; this wasMartynas Venckus
overriden by md source. spotted by kurt@ actually; on amd64 scalbnf, scalbn (and therefore now frexpf) have always been broken since second argument is not float. fix is under reviewal / will be committed separately ok kurt@, kettenis@, millert@. tested by kurt@
2009-04-21no need to install includes from here anymoreTheo de Raadt
2009-04-21move src/lib/libsndio/sndio.h into src/include where other includeAlexandre Ratchov
files leave. requested by deraadt@, ok miod@
2009-04-21Increase default thread stack size to 256K on 32bit archs and 512K onKurt Miller
64bit archs to accommodate the growing number of ports that put large buffers on the stack. Supported by many with no objections.
2009-04-21remove from gen so that lint doesn't check gen if assembly versionsMartynas Venckus
are available. spotted by theo
2009-04-19make ldexpf behavior consistent with the double and extended-precisionMartynas Venckus
versions; spotted by kettenis@ while here also remove unused ldexp; it lives in libc ok kettenis@, "looks good" millert@
2009-04-19- ldexp implementation has issues. switch to the one from libmMartynas Venckus
- remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
2009-04-15allow building without SHA384 and SHA512 (i.e. SHA256 only) withDamien Miller
-DSHA256_ONLY in order to save space; ok deraadt@
2009-04-13Add gcj java class registration hooks for gcc3 elf archs. From NetBSDKurt Miller
with minor differences. okay kettenis@ drahn@
2009-04-13protypes in sndio.h make reference to struct pollfd; applicationsAlexandre Ratchov
that don't use sys/poll.h, wont compile with gcc2. Fix this by declaring the pollfd structure spotted by and ok deraadt
2009-04-12document that no leading whitespace is permitted between the option andOkan Demirmen
argument if the argument is deemed to be optional ('::'). feedback and ok jmc@ and millert@
2009-04-11honor MSG_DONTWAITJacob Meuser
ok marc@, guenther@
2009-04-11in the old days compiler could not convert decimal constantsMartynas Venckus
accurately, hence the tricks in libm, using machine representation of constants. remove kludges and switch to use decimal constants, much simplifying the code. since, the compiler converts them accurately. generated values match on vaxfp discussed with millert@, and miod@ testing todd@, and myself ok millert@
2009-04-10lrint, llrint, lrintf, llrintf for amd64. ok kettenis@, oga@Martynas Venckus
2009-04-10resync libssl/libcrypto pod documentation - quite a few more pages andDamien Miller
MLINKS; feedback and ok jmc@
2009-04-08missing rcs ids; spacingMartynas Venckus
2009-04-08remove i386/x86_64 ifdefs. i386 lives @ i387. miod@ agreesMartynas Venckus
object code matches so this got to be oki
2009-04-08fix hexadecimal constant that was wrong; and confused with ieee. ok miod@Martynas Venckus