summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-06-30document that mquery(2) is non-standard; hint and ok deraadt@Otto Moerbeek
2008-06-30xref mqueryOtto Moerbeek
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-25- expressions such as x != x and x == x are prone to errors andMartynas Venckus
ugly, when we have isnan and isinf - no need to check for _IEEE, when checking for not-a-number - remove some impossible checks - while here, drem->remainder, as drem is just an obsolete alias now ok millert@
2008-06-25`Li' needs an argument;Jason McIntyre
2008-06-25Change a very long selective list of all architectures which do IEEE intoTheo de Raadt
just handling the vax different (just vax for now, 'cause tahoe might even be too legacy for Miod) ok miod
2008-06-25Move _POSIX_THREAD_SAFE_FUNCTIONS into unistd.h and set it to 200112Todd C. Miller
now that we support all the _r functions required by POSIX 1003.1-2001. Also define _POSIX_REENTRANT_FUNCTIONS. OK kurt@ deraadt@
2008-06-25Implement _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX,Todd C. Miller
and _SC_THREAD_SAFE_FUNCTIONS for sysconf(3). OK deraadt@
2008-06-25Add _PW_BUF_LEN define and use it instead of hard-coding 1024 forTodd C. Miller
the buffer size. OK deraadt@
2008-06-25Build pic versions of crt0, crtbegin & crtend for amd64, i386, powerpc,Kurt Miller
sparc64. The rest will come later. okay drahn@ no objection miod@ "Get it in" deraadt@
2008-06-25Make pic compatiable. From and okay drahn@ no objection miod@Kurt Miller
"Slackers!" deraadt@
2008-06-24crank major because of two new interfacesTheo de Raadt
2008-06-24create a private getpwent()-like interface which does not walk the YPTheo de Raadt
groups map but instead tells us that it is there. then use this interface in getgrouplist(), and do a single lookup against netid.byname instead to get all the groups associated with that user ok kurt, testing by many others
2008-06-24implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of theTheo de Raadt
entire file. much help from kurt, and tested by many
2008-06-21cleaning up, no functional changesMartynas Venckus
- no support for National 32000, removing ns32000/national ifdefs maze - remove tahoe defs - ansify looks fine to millert@; who also noticed rint removal
2008-06-20Adjust the _SEM_CHECK_VALIDITY macro to detect NULL sem_t instead ofKurt Miller
segfaulting. okay marc@ todd@
2008-06-16fix some errors found by lint, e.g. declaration w/o types, makeMartynas Venckus
zero const. also do the same fix as was found for ieee's trunc by lint; ok millert@. tested on VAX
2008-06-16- update list of functions. add functions that have been added inMartynas Venckus
the past years, including round, trunc, fmod, tgamma, finite - add missing ulp values - better descriptions for isnan/isinf - sort - remove man page column. we have mlinks so just mention man pages directly "yeah, that's the way to go" jmc@; ok millert@
2008-06-15add a procedure NLM_SM_NOTIFY (in version 0), used by statd to sendNikolay Sturm
notifications to lockd. from NetBSD bump minor "just get it in" deraadt
2008-06-15Swap the code for a calling function and what it calls, so that the calledTheo de Raadt
function is in scope and a pointer is not returned via an int ok dtucker
2008-06-14remove _thread_malloc_init prototypeOtto Moerbeek
2008-06-14zap last thread_malloc_init reference. otto@ okFederico G. Schwindt
2008-06-14slightly more robust fix in not relying on utf-8 sequences being wellPeter Valchev
formed after discussion w/ upstream
2008-06-14accidentally deleted a little bit too much, oopsTheo de Raadt
2008-06-13grammar fixes;Jason McIntyre
2008-06-13Remove all comments so that this code is 100% 'portable interface', andTheo de Raadt
thus attackable because Sun used a poor copyright notice
2008-06-13document xdr_{u_}int64_t() functionsTheo de Raadt
2008-06-13Add definitions for nlm version 4 (for use with NFSv3).Nikolay Sturm
from NetBSD minor bump, discussed w/ deraadt
2008-06-13remove _MALLOC_LOCK_INIT; major bump; ok deraadt@Otto Moerbeek
2008-06-13implement xdr_int64_t, xdr_u_int64_tNikolay Sturm
from NetBSD
2008-06-13Add strtof() to libc, some ports seem to like it. Currently it's a simpleLandry Breuil
call to strtod() with bounding check. Discussed with pyr@ and otto@ ok otto@ deraadt@
2008-06-12spacing, add rcs ids, no binary changeMartynas Venckus
2008-06-12some cleanup for noieee_src, as asked by millert@: remove fictionalMartynas Venckus
includes, include math.h where needed and remove redundant declarations ok millert@
2008-06-12shut up lint; pointed out by theoMartynas Venckus
ok millert@
2008-06-12fix parser crash w/ invalid UTF-8 char sequences (all apps that use expatPeter Valchev
for XML parsing are affected) reported & fixed in upstream cvs
2008-06-12add isinff and isnanf. no objection millert@Martynas Venckus
2008-06-12use ALTENTRY; was ok millert@Martynas Venckus
2008-06-12- no need for ifdef dance (21), we have isnan, finite for vaxMartynas Venckus
- TEST_FMOD doesn't belong here, remove - remove ifdef _ANSI_SOURCE and assume it's default ok millert@
2008-06-12Makefile: fix MLINKSJason McIntyre
lgamma.3: fix STANDARDS and HISTORY
2008-06-11- on non-ieee, rename gamma to tgamma, the 'true' gammaMartynas Venckus
- make gamma an alias of lgamma - on ieee, add tgamma, based on gamma from non-ieee - fixes for tgamma/lgamma/exp/log, esp. special cases (some from freebsd); properly raise invalid fp operations on vax - also some general cleanup, ansification, man page (which was ok jmc@) - bump minor this makes some ports using tgamma possible; also consistifies behavior across openbsd/ieee and openbsd/non-ieee, and other operating systems much thanks sthen@, johan@, steven@, Simon Kuhnle, Wiktor Izdebski for testing ok millert@
2008-06-11Import vlan support from upstream libpcap. This allows, eg, "tcpdump vla 3"Darren Tucker
to work on a vlan parent interface. ok mcbride@, "commit it" deraadt@
2008-06-11drem{,f} are aliases for remainder{,f}, so:Martynas Venckus
- document and mlink drem{,f} - drem->remainder on noieee, and make drem an alias - finite returns integer, n_support.c - general n_support.c ansification and cleanup - drem is now an ALTENTRY for remainder, in n_support.S help with man page from jmc@ and millert@ ok millert@
2008-06-11close brackets; ok jmc@Martynas Venckus
2008-06-11add C99 round(), based on ieee_src, for noieee_src. tested on VAXMartynas Venckus
ok millert@
2008-06-10vax doesn't have inf/nan, finite always returns 1Martynas Venckus
"go for it!" millert@, ok jmc@
2008-06-10document access(2) can return EPERM; noted by Tim van der Molen; ok millert@Otto Moerbeek
2008-06-10add missing arg to .FnOtto Moerbeek
2008-06-09Update access(2) to have modern semantics with respect to X_OK andTodd C. Miller
the superuser. access(2) will now only indicate success for X_OK on non-directories if there is at least one execute bit set on the file. OK deraadt@ thib@ otto@
2008-06-09Remove an arch-specific API that wasn't available in the first place, andPeter Hessler
will be converted to a more generic one soon. ok deraadt, oga
2008-06-09fix an Xr, and use a more appropriate macro;Jason McIntyre