Commit Briefs

Omar Polo

work around missing endian.h

As usual, if not found try sys/endian.h or pull in the macos thingy.


Omar Polo

(cont) work around lack of SOCK_{CLOEXEC,NONBLOCK}

funny how they're trying to deprecate daemon() in favour of the mess of posix_spawn and still don't provide genuinely useful stuff like SOCK_CLOEXEC, NONBLOCK and pipe2(2).



Omar Polo

work around (a possibly missing) pipe2(2)

Mac OS X... sigh...


Omar Polo

mention libao in the README


Omar Polo

add an libao audio backend

This backend uses libao to play music. It's a bit convoluted since libao doesn't provide an async interface, so we have to run it in a separate thread. Then, there's some notification via a shared socketpair because the main loop is around poll(). This actually doesn't work OOTB on OpenBSD due to a restrictive pledge(), but it's not a issue since sndio should be used there. libao is the last resort.


Omar Polo

trailing whitespace


Omar Polo

amused-web: typo in error message


Omar Polo

typo in CHANGES


Omar Polo

bump version


Omar Polo

CHANGES for 0.13 (tags/0.13)


Omar Polo

fix `make dist'



Omar Polo

amused-web: avoid an (im)possible write out-of-bounds in buf_write

spotted while bringing syncparty' bufio.[ch] in sync; if the requested len could be bigger than buf->len plus the buf_grow() increment, so we have to iterate. This is currently impossible since we're usign buf_write() only to add one byte.


Omar Polo

mention libmd for amused-web