summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-10-17Add version number to aucat protocol. It's not used yet,Alexandre Ratchov
but later, it will permit aucat to reject connections from clients statically linked to a unsupported version of libsndio. idea from kittenis, otto and sthen
2009-10-16teach gdtoa & its subroutines that malloc can fail; in which caseMartynas Venckus
ecvt, fcvt, gcvt, *printf, strtof, strtod, strtold act per ieee 1003.1. after these massive changes, remove unused files which would not work now. reported by Maksymilian Arciemowicz; ok theo
2009-10-13In evbuffer_readline, do not lose data upon malloc failure. From mainstream:Jacek Masiulaniec
http://levent.svn.sourceforge.net/viewvc/levent?view=rev&revision=1436 ok gilles@
2009-10-12another cert that makes godaddy.com and launchpad.net (among others) happy.Federico G. Schwindt
found by Guillaume Protet (guillaume dot protet at mortheres dot info) while testing bzr update. deraadt@ ok
2009-10-10rewrite the history section, prompted by Paul Stoeber; ok deraadt@ jmc@Otto Moerbeek
2009-10-10when setting parameters of sun devices, check that selected encodingAlexandre Ratchov
is actually linear
2009-10-10at initialization of sun devices, use sio_setpar(3) instead ofAlexandre Ratchov
AUDIO_SETINFO() to set the initial parameters, since AUDIO_SETINFO() can fail.
2009-10-10since AUDIO_INITINFO() may set parameters to whatever is supportedAlexandre Ratchov
by the device, we may end up with different recording and playback parameters, which will break almost all full duplex apps on such devices. For instance, this should fix full-duplex apps not working on devices that can record at any sample rate but can play at 48kHz only.
2009-10-04Add (again) support for divert sockets. They allow you to:Michele Marchetto
- queue packets from pf(4) to a userspace application - reinject packets from the application into the kernel stack. The divert socket can be bound to a special "divert port" and will receive every packet diverted to that port by pf(4). The pf syntax is pretty simple, e.g.: pass on em0 inet proto tcp from any to any port 80 divert-packet port 1 A lot of discussion have happened since my last commit that resulted in many changes and improvements. I would *really* like to thank everyone who took part in the discussion especially canacar@ who spotted out which are the limitations of this approach. OpenBSD divert(4) is meant to be compatible with software running on top of FreeBSD's divert sockets even though they are pretty different and will become even more with time. discusses with many, but mainly reyk@ canacar@ deraadt@ dlg@ claudio@ beck@ tested by reyk@ and myself ok reyk@ claudio@ beck@ manpage help and ok by jmc@
2009-10-01Do not `return' in void functions.Miod Vallat
Amazingly, compiler does not complain (lint does).
2009-09-29remove unsupported LIBRARY section; from Alan R. S. BuenoJason McIntyre
2009-09-27rfork_thread() lacked PIC handling for CERROR, resulting in a text relocationPhilip Guenthe
pointed out by brad, ok djm@
2009-09-27Minor bump for safety, due to the mips cachectl() addition.Miod Vallat
2009-09-27Add an implementation of IRIX-compatible cacheflush() routine to mips ports,Miod Vallat
needed for gcc -ftrampoline operation as well as by some third-party software. Although the implementation uses the sysarch() sysctl, the wrapper is added to libc as it was a direct system call (which it is on IRIX).
2009-09-24Test for MACHINE_ARCH to decide whether to build stuff in libarch/arm, insteadMiod Vallat
of an incomplete MACHINE list.
2009-09-24rfork_thread() lacked PIC handling for CERROR, resulting in a text relocationPhilip Guenthe
ok kettenis@, art@
2009-09-18Zero out IPv6 mask before using it. This fixes expressions likeAlexander Bluhm
'net 2002::/16', which were previously non-deterministic based on the previous contents of memory. from upstream; ok claudio@
2009-09-10cvs log message from ed@freebsd, revision 197045:Jason McIntyre
Make the description of `b' a little better. If you have a one-byte sequence, `w', `b' is the second character. Not the third. Submitted by: Christoph Mallon checked by otto
2009-09-09Palm: Integration into the treeMarek Vasut
OK deraadt@
2009-09-09maxzis -> maxsize; from Han BoetesJason McIntyre
2009-09-08I had not enough oks to commit this diff.Michele Marchetto
Sorry.
2009-09-08Add support for divert sockets. They allow you to:Michele Marchetto
- queue packets from pf(4) to a userspace application - reinject packets from the application into the kernel stack. The divert socket can be bound to a special "divert port" and will receive every packet diverted to that port by pf(4). The pf syntax is pretty simple, e.g.: pass on em0 inet proto tcp from any to any port 80 divert-packet port 8000 test, bugfix and ok by reyk@ manpage help and ok by jmc@ no objections from many others.
2009-09-02make getaddrinfo(3) accept numeric servname when ai_socktype is notFederico G. Schwindt
specified in hint or hints is NULL. claudio@ ok
2009-08-28Change cap_mkdb and curses to be a better about reformatting terminfo entriesNicholas Marriott
into the cap database format and back: rather than replacing all colons with commas, only touch real separators (skip those with a leading \ or ^) and replace an unadorned colon with a literal "\072". Fixes problems with quite a few caps including acsc in "screen" (:s instead of ,s) and setab/initc in "xterm-256color" (wrongly concatenated together). ok millert
2009-08-28don't consider calling sio_close() without calling sio_stop() firstAlexandre Ratchov
as a programming error. At any stage the program should be alble to cleanly free resources and close the device.
2009-08-28when using aucat backend, wait for the server to drop the connectionAlexandre Ratchov
on sio_close()
2009-08-28add a new AMSG_BYE, sent by the client to requst the server toAlexandre Ratchov
free resources and drop the connection. This allows the client to ensuire that at any time it's using only one connection, thus only one MIDI control channel.
2009-08-27Don't stop traversing a directory hierarchy if we reach SHRT_MAX,Todd C. Miller
just stop updating fts_level so we don't overflow it. This allows rm, find, etc to operate on very deep hierarchies. Consumers of fts(3) do need to be aware that the actual level may be larger than fts_level. During the next libc major bump we will make fts_level an int instead of a short. OK deraadt@
2009-08-26handle incoming AMSG_SETVOL messages, allows the client to be notifiedAlexandre Ratchov
of volume changes
2009-08-21make aucat(1) expose a MIDI device to control server behaviour inAlexandre Ratchov
realtime. For now only the playback volume of individual streams can be changed/monitored. To each stream is assigned a MIDI channel; the volume is changed/monitored using the standard controller number 7.
2009-08-20add SF_ARCHIVED. ok millert@, tedu@Martynas Venckus
2009-08-13We do not do vm86 mode on amd64Theo de Raadt
ok kettenis
2009-08-13various MLINK fixes from Alan R. S. Bueno;Jason McIntyre
2009-08-13function is named int des_string_to_2key, not int des_string_to_2keys;Jason McIntyre
from Alan R. S. Bueno
2009-08-08remove expired certificates and add startcom ltd.Federico G. Schwindt
beck@ ok
2009-08-07define substitution in some cases might happen after prototypes areMartynas Venckus
already pulled; so manually substitute protos ensuring they will always be right; ok millert@
2009-08-07pull string for memcpy; ok hshoexer@Martynas Venckus
2009-08-03use random; ok millert@Martynas Venckus
2009-08-03remove, or replace Xr of ieee to either ilogb, nextafter or scalbnMartynas Venckus
where appropriate. pointed out by jmc@
2009-08-01Use STD*_FILENO instead of 0-2. OK henning@ djm@ gilles@ dhill@Todd C. Miller
2009-08-01honor non-blocking flag in mio_open_rmidi(), fixes programsAlexandre Ratchov
eating 100% CPU while trying to use blocking i/o. ok jakemsr
2009-07-29now that the pages are split and we track separate HISTORY:Martynas Venckus
double => 4.3BSD float => NetBSD 1.1 long double => OpenBSD 4.5 scalbln, scalblnf, scalblnl => OpenBSD 4.7
2009-07-29ieee, and ieeef aren't real, and the amount of functions it documentsMartynas Venckus
is getting ridiculous. split them into groups of copysign, ilogb, nextafter, scalbn. discussed long ago with millert@
2009-07-29ieee_test isn't real; rename header to logb, tooMartynas Venckus
2009-07-28document scalbln, scalblnf, scalblnlMartynas Venckus
2009-07-28this is happier if it pulls in a few more includesTheo de Raadt
2009-07-27don't use ``return'' in sio_close() and mio_close()Alexandre Ratchov
2009-07-26more style improvemets, from Thomas PfaffAlexandre Ratchov
2009-07-26use ``sizeof(string) - 1'' rather than ``strlen(string)'' on staticAlexandre Ratchov
strings. suggested by Thomas Pfaff
2009-07-26remove the (bogus) special case when mio_open() is called withAlexandre Ratchov
a midi device name starting with a separator