summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2008-06-08arc4random_stir() does not use /dev/arandom anymore, but sysctl kern.arandomTheo de Raadt
2008-06-05- Add fork/vfork wrapper functions to reset state in the child process.Kurt Miller
- Make an effort to protect important libc and ld.so critical areas during the fork(2)/vfork(2) sys call. - Add pthread_atfork(3) implementation based on Daniel Eischen's code. Original diff by Philip Guenther <guenther at gmail.com> with some additions and refinements by me. Positive test report from brad@ with many kde apps. fork(2) and pthread_atfork(3) pthread regresses pass. okay tedu@, kettenis@, marc@
2008-06-04olf support starts to die (easy stuff first); ok miodTheo de Raadt
2008-06-04fix math screwup that reintroduced a bias for upper_bounds in rangeDamien Miller
(2^30,2^31). Nothing in the tree yet requests random numbers bounded by this range. report jakob!deraadt; ok deraadt@
2008-06-03Don't grab the fd read lock for getsockopt(2), setsockopt(2),Kurt Miller
getpeername(2) or getsockname(2). Its not needed and causes threads to block when another thread is blocked and holding the read lock. Instead just protect against fd state transitions. Blocking problem reported by David S H Rosenthal from lockss.org okay beck@ "looks sane" deraadt@
2008-05-30fix a broken Xr;Jason McIntyre
2008-05-24typo.Igor Sobrado
2008-05-23we only do static libarch; ok drahnTheo de Raadt
2008-05-23- remove USER_LDT, it was never in a state where it would copile, nor willJasper Lievisse Adriaanse
we support i386-compat mode on amd64. agreed by beck@, dlg@, kettenis@ ok deraadt@, tom@
2008-05-21Use _C_LABEL when appropriate.Miod Vallat
2008-05-21Use _PROF_PROLOGUE insteaf of rolling our own.Miod Vallat
2008-05-21Use proper *ENTRY macros with symbolic register save masks, sprinkleMiod Vallat
_C_LABEL and _ASM_LABEL, and add $OpenBSD$ RCS Ids. Include <sys/errno.h> and use its values directly, instead of using .set directives (which grow the individual .o files even) Also, replace `$' in internal (but non static) symbols with `_', and prefix those with `__'.
2008-05-20kill an Xr to a non-existent man page, ulimit(1);Jason McIntyre
2008-05-19bump (recalloc removal)Otto Moerbeek
2008-05-19remove recalloc(3); it is buggy and impossible to repair without bigOtto Moerbeek
costs; ok jmc@ for the man page bits; ok millert@ deraadt@
2008-05-16Fix ssize_t vs. size_t mismatchTodd C. Miller
2008-05-16C99 says that for each va_copy() there must be a matching va_end().Todd C. Miller
Replace the non-portable hackery in __find_arguments() with a union. From FreeBSD.
2008-05-13Don't forget to va_end() the va_list we get from va_copy(). From FreeBSD.Todd C. Miller
2008-05-11Fix a crash when iterating over a hash and removing its elements.Todd C. Miller
From Patrick Keshishian. OK pvalchev@
2008-05-11garbage collect the portability bits for the removed select() support.Brad Smith
ok djm@ deraadt@
2008-05-09kill trailing whitespace;Jason McIntyre
2008-05-09add SO_BINDANY with pf example; help from jmc, ok beck@Markus Friedl
2008-05-07routed is no more so use dhcpd in these examples instead. OK norby@Claudio Jeker
2008-05-07remove duplicates; remove des_random_key; remove unused; sort MLINKS; ok jmc@Markus Friedl
2008-05-06Use the standard syslog levels on CARP logging messages instead ofRyan Thomas McBride
simple on/off, allowing more control over how verbose the logging is. This also allows you to do a further level of filtering in syslog.conf if you need to. Also add logging of state changes, inspired by diff provided by Brian A. Seklecki in PR 5513. These messages are logged by default. ok henning mpf deraadt
2008-05-05add missing header for getpagesizeCharles Longeau
ok espie@
2008-05-03add missing header for closeCharles Longeau
ok otto@ espie@ millert@
2008-05-02- Use a const pointer for bufferevent_write.Brad Smith
- Make event_init return struct event_base *. From the libevent SVN repo. ok millert@
2008-05-02- Increment MAX_ADDRS in evdns so as to be quite large.Brad Smith
- Accept as well-formed DNS replies with questions but no answers. - Fix for crash in evdns_resolve_reverse_ipv6(). - Move end of "extern C {" block to the end of evdns.h. From the libevent SVN repo. ok millert@
2008-05-02Makefile: sort MLINKS and add event_base_once.3Jason McIntyre
event.3: fix NAME and remove spurious blank line