Age | Commit message (Collapse) | Author |
|
from asm.h. discussed w/ millert@
|
|
|
|
|
|
|
|
|
|
important functions: acosl, asinl, atanl, atan2l, cosl,
sinl, tanl, exp2l, frexpl, ilogbl, ldexpl, logbl, scalbnl,
fabsl, hypotl, powl, sqrtl, rintl, copysignl, nanl, fdiml,
fmaxl, fminl. mostly taken from freebsd, needed alot of
changes to adapt. note, these are all c versions; and are
quite slow when architectures have, e.g. sqrt. assembly
versions will be added afterwards
- make them .weak/__weak_alias to the double precision
versions on other archs
- no need to have two finites. finite() and finitef() are
non-standard 3BSD obsolete versions of isfinite. remove
from libm. make them weak_alias in libc to __isfinite and
__isfinitef instead. similarly make 3BSD obsolete versions
of isinf, isinff, isnan, isnanf weak_aliases to C99's
__isinf, __isinff, __isnan, __isnanf
- remove unused infinity.c. the c library has infinities
for each supported platform
- use STRICT_ASSIGN cast hack for _kernel_rem_pio2, so that
the double version has a chance of working on i386 with
extra precision
- avoid storing multiple copies of the pi/2 array, since
it won't vary
- bump major due to removed finite/finitef. although they
will be in libc, which anything is linked to, minor bump
might be enough
ok millert@. tested by sthen@, jsg@, ajacoutot@, kili@, naddy@
|
|
- make long double versions weak aliases to double versions,
on archs where long doubles are 64 bits
- no need to have two finites. finite() and finitef() are
non-standard 3BSD obsolete versions of isfinite. remove
from libm. make them weak_alias in libc to __isfinite and
__isfinitef instead. similarly make 3BSD obsolete versions
of isinf, isinff, isnan, isnanf weak_aliases to C99's
__isinf, __isinff, __isnan, __isnanf
- bump major
ok millert@
|
|
|
|
Add nonblock support for xdrrecs
ok millert blambert & otto; from NetBSD. libc bump to follow soon.
|
|
|
|
Suggested by and ok claudio@, ok jmc@
|
|
- returned type is char *, not int
from Frederic Culot, documentation/6019
first issue sent upstream (second already fixed)
|
|
ok deraadt
|
|
|
|
struct in the if_msghdr instead of using sizeof() blindly. This allows us
to grow if_data without causing issues for the getifaddrs() users.
OK deraadt@ (who needs this for some cool upcomming stuff)
|
|
|
|
(train trips are soo boring...)
ok jmc@
|
|
|
|
variable to determine the socket or the device to use. Allow
choosing the when aucat(1) is used too. Noticed and
tested by naddy@
|
|
the page as possible (i.e. make malloc option P a default).
ok art@ millert@ krw@
|
|
a page to 0. P default will be changed in a separate commit.
ok millert@ art@ krw@
|
|
larger blocks the other half. That's because shrinking the block size may
not be the right direction to go to find a common block size for play and
record.
|
|
|
|
it can be used on play-only, record-only and half-duplex devices.
ok jakemsr
|
|
|
|
if the connection to the server is lost.
|
|
From patrick keshishian <sidster@boxsoft.com>
|
|
a separate symbolic constant for the leeway we allow when moving
allocations towards the end of a page. No functional change.
|
|
|
|
gcc with pie support to be built first.
ok kettenis@
|
|
|
|
sio_onvol(3) functions. The audio(4) backend tries to use the
inputs.dac, outputs.dac, outputs.output and outputs.master
controls (in this order). Add a sample file in
regress/lib/libsndio/vol/vol.c
|
|
|
|
to the backend to avoid reporing the device as writable when it's
stopped. Solves 100% CPU usage of apps poll()ing a stopped device.
|
|
ok espie, jmc
|
|
|
|
|
|
feedback and ok mpf@, deraadt@
|
|
and thus remove the ugly rate <-> block-size table from
sio_setpar(3). Handle the block size negociation in aucat(1), since
it has few constrains the code is overally simpler.
ok jakemsr@, major crank suggested by deraadt@
|
|
(might catch errors closer to the trouble spot) and junk fill pages just
before reuse instead of immediate (we can't access the page anyway)
since we set PROT_NONE in the F case. ok djm@
|
|
ok jmc@
|
|
|
|
always-false condition. From FreeBSD (delphij).
|
|
and block based audio i/o (arithmetic constraints). For now round the
frequency to a supported one, (ie 8kHz, 11.025kHz, 12kHz multiple), and get
the the block size from a table.
fixes problem reported by Robert <robert _at_ openbsd.pap.st>
ok jakemsr
|
|
tried and how many actually succeeded.
|
|
ok ratchov@
|
|
|
|
says according to ratchov@. Make it so, and crank major.
ok ratchov@
|
|
requested by many, "just go for it" deraadt@
|
|
|