Commits


bring in newer ev and bufio from telescope merge our local changes to bufio though.


work around (a possibly missing) pipe2(2) Mac OS X... sigh...


move timespecsub compat out of ev.c


add portability shim for timespecsub


add missing #include <time.h>


switch from libevent to a smaller, thin wrapper around poll() libevent is a very cool library, I like its APIs and enjoy using it. However, for amused it is maybe a bit too much since it doesn't deal with too many file descriptors. Amused only needs to monitor one fd for the player process and the currently connected clients. Given that it runs per-user locally, having more than a dozen of fds open is very, very rare.