summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-07-13Reintroduce lost local diff; detective work by matthew@; ok okan@ oga@Otto Moerbeek
all hail the more strict malloc S flag!
2011-07-12Don't call munmap(2) if mmap(2) failed.Matthew Dempsky
ok deraadt@, tedu@
2011-07-12Clarify that exactly one of O_RDONLY, O_WRONLY, and O_RDWR must beMatthew Dempsky
specified when calling open(2).
2011-07-12document O_CLOEXEC and O_DIRECTORYMatthew Dempsky
2011-07-12on malloc flag S, set cache size to 0; will catch even moreOtto Moerbeek
use-after-free bugs; ok krw@ dlg@ pirofti@
2011-07-11Remove the GCC2 optimizer workaround for sparc. After switchingMartynas Venckus
to GCC4 it doesn't generate broken code anymore. From Brad. Tested and verified by myself.
2011-07-10Use stdio in getent() and reuse pfp from tcgetnext when calling getent().Todd C. Miller
Cuts cap_mkdb system time in half. OK nicm@
2011-07-09- Fix the cabs, and cabsf prototypes in the manual pages; it'sMartynas Venckus
been C99 complex (not struct complex) for couple of years. - Remove BUGS section; cabs is finally prototyped in complex.h. - Also document cabsl.
2011-07-09Switch to the SSE code. OK mikeb@.Martynas Venckus
2011-07-09Minor function name tweaks.Nicholas Marriott
2011-07-09Instead of documenting all the wide string functions in wmemchr(3), addNicholas Marriott
individual pages (based on the existing string man pages). By Tim van der Molen (tbvdm at xs4all dot nl) after a suggestion by millert@. ok deraadt
2011-07-09Make the zero condition properly raise the exception and return.Martynas Venckus
2011-07-09Don't reimplement the same thing twice. OK matthew@.Martynas Venckus
2011-07-09Copied from hppa; should work for hppa64 as well.Mark Kettenis
2011-07-09On hppa64 we need to use __gp instead of $global$.Mark Kettenis
2011-07-08Move fabs(3) manual page from libm to libc, for consistency. TheMartynas Venckus
modf(3), frexp(3), ldexp(3), fpclassify(3) pages are in libc, too.
2011-07-08Remove the stupid commented out fabs(3), frexp(3), and modf(3)Martynas Venckus
entries and unused implementations. It is clear that this situation won't change.
2011-07-08Alias modfl to modf. This goes together with the previous bump.Martynas Venckus
2011-07-08Revert (leaving the complex math part alone). Some stuff is dependingMartynas Venckus
on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
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@