summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-08-24Move underrun/overrun recovery code from the sun-api back-end toAlexandre Ratchov
the the generic code, so it can be used by other back-ends as well. No behavior change (hopefully).
2013-08-24replace random() with arc4random.David Gwynne
blambert didnt like stuff linking to libevent getting warnings about use of an unsafe api. ok blambert@ mikeb@ deraadt@ millert@
2013-08-17Use %lld and cast to (long long) when printing time_t values and atoll()Philip Guenther
when parsing them. Add a couple [ug]id_t --> u_int casts for consistency with rest of code. Based on a diff from Nathanael Rensen (nathanael (at) polymorpheus.com)
2013-08-16seekdir()/rewinddir() must update the position returned by telldir()Philip Guenther
2013-08-15Align stack yp buffers to 64-bit boundaries now, for they might containMiod Vallat
a struct passwd. ok deraadt@ guenther@ kettenis@
2013-08-14use Bsx;Jason McIntyre
from jan stary
2013-08-14ident and data members of struct kevent changed types: ident toPhilip Guenther
uintptr_t, so it can hold pointers for EVFILT_TIMER and _AIO, and data to quad_t, so it can hold file offets.
2013-08-14more Bx;Jason McIntyre
From: Jan Stary
2013-08-14some Bx/Ox conversion;Jason McIntyre
From: Jan Stary
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
From: Jan Stary
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-08-10Plug fd and mem leak in fuse_open's error path. ok syl@Jeremie Courreges-Anglas
2013-08-10Remove some useless DPRINTF.Sylvestre Gallon
2013-08-08sync with recent name changes;Jason McIntyre
2013-08-08rename fuse docs after existent functions;Jason McIntyre
2013-08-08Prep for big ino_t: cast to unsigned long long and format with %ll or %qPhilip Guenther
httpd correction and ok kettenis@
2013-08-07Document lgamma_r, lgammaf_r, and lgammal_r.Todd C. Miller
Prodded by espie@, OK martynas@
2013-08-07simple inaccurate implementation of lrint* functions on vax, just soMarc Espie
we have them. Compiles on vax. okay martynas@
2013-08-06When writing a new record in pw_copy() print the uid and gid asTodd C. Miller
unsigned, just like we do the existing records. OK deraadt@
2013-08-06Remove support for COMPILER_VERSION == gcc2.Miod Vallat
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
2013-08-06scalbnf on vax, okay miod@Marc Espie
2013-08-05tgamma(+-0) == +-InfMark Kettenis
ok martynas@
2013-08-03KERN_PROC_BYPID --> KERN_FILE_BYPIDPhilip Guenther
pointed out by Dominique Laigle (dlaigle (at) gmail.com)
2013-08-02Fix a couple of corner cases in the implementation of pow(3) to make itMark Kettenis
compatible with C99. Most notably: - 1**y == 1, even if y is NaN - (-1)**+-Inf == 1 and adjust the cephes testsuite to test for the right thing here. ok martynas@
2013-08-01Add linker warnings for rand() and random() and various related functions.Mark Kettenis
ok deraadt@
2013-07-31remove complete balony description of the setprogname() interface [asTheo de Raadt
imported from netbsd] -- like, if maximum portability requires you to setprogname(), what NAME WOULD YOU PASS IT? LIKE DUH!!!!! also add some historical context so that people understand how this fits into the scheme of things. ok okan kettenis jmc
2013-07-30Free the list used for tracking the pthread_{get,set}specific()Philip Guenther
data after calling all the destructors. noted by kettenis@ diff by tedu@
2013-07-30Stop overwriting the dying thread's struct thread as its tid member mayPhilip Guenther
be concurrently updated by __threxit() prompted by a report from Alf Schlichting (a.schlichting (at) lemarit.com) ok kettenis@
2013-07-29fix a colossal cockup due to pointer/array confusion.Ted Unangst
code isn't used yet, thankfully. first observed by djm running regress. ok deraadt djm
2013-07-20sync with the actual definition of struct statfs in <sys/mount.h>; ok jmc@Christian Weisgerber
2013-07-18HISTORY; tweaks and ok sobrado@ jmc@Ingo Schwarze
2013-07-17missing symbol rename.Eric Faurot
2013-07-17more library historyIngo Schwarze
facts checked by sobrado@ style tweaks and ok jmc@
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-07-16more macro simplification; from Jan StaryJason McIntyre
2013-07-16non[ -]existing -> non-existent;Jason McIntyre
2013-07-15Fix atan2f() and hypotf() by actually converting both their arguments to theMiod Vallat
larger type and passing them both the the double routine.
2013-07-15use some generic code on vax, to do round/roundf/scalbln...Marc Espie
suggested by martynas@ okay miod@ (just rearranges the !vax makefile, no compile change there)
2013-07-15use atan2f to add atanfMarc Espie
okay martynas@
2013-07-15bring reference C code that's not compiled in synch with asm codeMarc Espie
okay martynas@
2013-07-15add some missing asm functions to vax: long double as aliases to double,Marc Espie
and float functions by cvtfd/cvtdf (like in netbsd) scalbnf will have to wait, as it's more complicated... brings vax in line with the rest. okay miod@/martynas@
2013-07-13Remove no longer needed vax CFLAGS workarounds.Miod Vallat
2013-07-12major bump after asr symbols changesEric Faurot
2013-07-12Make some symbols static and prefix all visible symbols with asr_Eric Faurot
to prevent collisions with third-party programs. suggested by sthen@, ok theo@
2013-07-11Merge fuse_opt code with stsp@ fuse_opt code.syl
ok tedu@
2013-07-10rfc 3493 obsoletes 2553. i spotted this after reading hiroki sato's changesJason McIntyre
in freebsd src commit r253066. our man pages had been updated, but i must have missed the following: - getnameinfo.3: 2553 -> 3493 - ip6.4: we listed both. remove 2553.
2013-07-06functions, not macros; from Daniel DickmanJason McIntyre
ok guenther
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-07-05VAX ELF userland bits. Consists mostly of register prefix additions.Miod Vallat
2013-07-05Add support for fuse_teardown(3). This functionsyl
is needed by zipfs. ok tedu@