summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-07-08No need to set CFLAGS+=-DOPENSSL_IA32_SSE2 on amd64. Nothing uses it.Marco Pfatschbacher
Small test by marco@ and md5 /usr/lib/libcrypto.so.19.0 agrees.
2011-07-08tweak previous;Jason McIntyre
2011-07-08Kill weak `cerror' alias, it's colliding with the userland namespace. NoticedMiod Vallat
by guenther@ months ago, had to wait for a libc major bump.
2011-07-08Support sending struct info to kdump. So far for struct stat andOtto Moerbeek
struct sockaddress; mostly from freebsd. ok deraadt@ tedu@ nicm@
2011-07-08Finalize work on complex math routines, now that we have theMartynas Venckus
extended-precision support. Mostly from Cephes.
2011-07-08Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingMartynas Venckus
them in libc for a very long time. OK guenther@.
2011-07-08Include PIPEX in kernel by default. And add new sysctl variableYASUOKA Masahiko
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled and it will not process packets from wire. Update man pages and update HOWTO_PIPEX_NPPPD.txt for testers. discussed with dlg@, ok deraadt@ mcbride@ claudio@
2011-07-08After a certain amount of fighting with the mbstowcs API, remove L fromNicholas Marriott
the wcsdup example. ok stsp
2011-07-08signbitl -> signbit.Martynas Venckus
2011-07-08el_set EL_BIND or EL_SETTC must have argument lists ending with NULL.Nicholas Marriott
ok tedu
2011-07-08Pass CFLAGS (which contains -DOPENSSL_IA32_SSE2) to the perlasmMarco Pfatschbacher
build on i386. This enables SSE2 optimizations for bignum multiplications, Montgomery multiplications and sha512. This speeds up Diffie-Hellman operations in isakmpd and iked quite a bit. OK djm@, markus@, mikeb@
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersTheo de Raadt
switched a while back. ok miod, kettenis
2011-07-07Enable wide character functions in libedit (not the other libe*t).Nicholas Marriott
ok stsp deraadt
2011-07-07fix typos; while here, improve spacing in comments.Igor Sobrado
changes to libevent and zlib headers sent to the upstream maintainers. ok jmc@ (for typos), millert@
2011-07-07no more math(3);Jason McIntyre
2011-07-07add tcp.always_keepalive;Jason McIntyre
2011-07-07When context switching, if the 'new' thread is the same as the 'old'Philip Guenthe
thread, then the save and restore of errno, FPU, and regs is unnecessary and can be skipped. "looks reasonable" marc@
2011-07-07sync with upstream, retaining local modifications.Okan Demirmen
ok nicm@
2011-07-07Remove references to math(3).Martynas Venckus
2011-07-07Remove references to math(3).Martynas Venckus
2011-07-07Remove math(3). OK theo.Martynas Venckus
2011-07-07Document extended-precision routines.Martynas Venckus
2011-07-07Fix bit twiddling routines on ARM; where floating-point word orderMartynas Venckus
is big endian.
2011-07-06Add sysctl net.inet.tcp.always_keepalive, when this is set the systemStuart Henderson
behaves as if SO_KEEPALIVE was set on all TCP sockets, forcing keepalives to be sent every net.inet.tcp.keepidle half-seconds. In conjunction with a keepidle value greatly reduced from the default, this can be useful for keeping sessions open if you are stuck on a network with short NAT or firewall timeouts. Feedback from various people, ok henning@ claudio@
2011-07-06Add support for C99 %ls and %lc format directives, as been documented inStefan Sperling
the vfprintf(3) man page for ages. Based on code from NetBSD/FreeBSD. Prevent ramdisk growth with a maze of #ifdefs. ok robert, no objections deraadt, espie, millert
2011-07-06Speed up cgetnext() by passing the record we want to parse in toTodd C. Miller
getent() as toprec. Make cap_mkdb faster when building termcap.db. OK nicm@
2011-07-06Don't pull bsd.own.mk for NOPROFILE & NOPIC -- the libm_i387 thingMartynas Venckus
is gone since 1999.
2011-07-06Finalize work on the math library. It's time to do this monsterMartynas Venckus
commit, and deal with problems (if any) in tree. Note that this adds the following functions. Ports with hacks might need adjustments. nexttoward(3), fma(3), nexttowardf(3), fmaf(3), acoshl(3), asinhl(3), atanhl(3), coshl(3), sinhl(3), tanhl(3), expl(3), expm1l(3), logl(3), log10l(3), log1pl(3), log2l(3), modfl(3), cbrtl(3), hypotl(3), powl(3), erfl(3), erfcl(3), lgammal(3), tgammal(3), ceill(3), floorl(3), lrintl(3), llrintl(3), roundl(3), lroundl(3), llroundl(3), truncl(3), fmodl(3), remainderl(3), remquol(3), nextafterl(3), nexttowardl(3), fmal(3). With this commit, our library implements all functionality required by C99. Documentation bits will follow.
2011-07-05Fix some awful code in the example, pointed out by millert@.Nicholas Marriott
2011-07-05from Tim van der Molen:Jason McIntyre
- State that ftell() and ftello() return -1 on error rather than just a non-zero value. The latter is not specific enough, because these functions can also return non-zero on success. - For clarity and search-friendliness, don't refer to fgetpos() and fsetpos() as "the others", but mention them by name. ok millert otto
2011-07-05Move arm to the 'MI' softfloat code instead of the arm version.Dale Rahn
YES!! miod@
2011-07-05Recommit the reverted sigacts change now that the NFS use-after-freePhilip Guenthe
problem has been tracked down. This fixes the sharing of the signal handling state: shared bits go in sigacts, per-rthread bits goes in struct proc. ok deraadt@
2011-07-05Add stubs for signals and forks.Paul Irofti
While at it clean-up a bit by removing unused files and adding cvs tags.
2011-07-05check that thread specific keys are valid, and cleanup code a little.Ted Unangst
ok guenther
2011-07-05fix a few bugs in the thread specific data functionsTed Unangst
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-07-04- Take into account padding for the IEEE extended shape types. ItMartynas Venckus
should be 96-bits on 32-bit architectures, and 128-bits on 64-bit architectures. - Add abstract macros to operate on long doubles by words. To be used soon.
2011-07-04enter ia64 for objTheo de Raadt
2011-07-04tweak previous;Jason McIntyre
2011-07-04Add csu ia64 support.Paul Irofti
2011-07-04Add ia64 libc support.Paul Irofti
2011-07-04Add wcsdup(), from NetBSD.Nicholas Marriott
ok deraadt matthew
2011-07-04Implement an idle timeout for the socket splicing. A new `sp_idle'Mike Belopuhov
field of the `splice' structure can be used to specify a period of inactivity after which splicing will be dissolved. ETIMEDOUT error retrieved with a SO_ERROR indicates the idle timeout expiration. With comments from and OK bluhm.
2011-07-03"it's" -> "its" in a couple of comments.Kenneth R Westerback
2011-07-03Recognize %a, %A format specifiers, per C99.Martynas Venckus
2011-07-03In pthread_key_delete(), only scan other threads if the key was allocatedPhilip Guenthe
and handle the case of specific_data being NULL. Pointed out by fgsch@, ok tedu@
2011-07-03Swap bitmask values around so that STRTOG_Neg doesn't get affectedMartynas Venckus
by the inexact values.
2011-07-03Properly implement the long double (%Lf) scanf without the precisionMartynas Venckus
loss.
2011-07-02For tiny x, tanhf = x*(one+x). GCC (at -O2) optimized this intoMartynas Venckus
x+x*x, as a result sign got lost for the zero inputs. Explicitly return in this case, similarly like has been done in tanh.
2011-07-02Trick lint into recording the right prototypes in the llib-lc.lnMartynas Venckus
database on the vax, similarly like has been done in gen.