server.appendonly -> server.aof_state, and many comments added in the server global state structure in the process.
Redis test: when assertion fails print not just the expression but also expanded values in the error message.
Fixed memleak in CLIENT INFO, added simple test that will work as regression test on mac os x and in the CI when running over valgrind. This fixes issue #256
loop is never destroyed in Redis). Thanks to @anydot for noticing it.
Fix: when aof_write_rewrite is true don't append on the AOF buffer but accumulate the differences for the rewrite.
AOF fixes in the context of replicaiton (when AOF is used by slave) and CONFIG SET appendonly yes/no.
Redis test: two redundant tests removed as they tend to create issues when running the test with valgrind.
Fixed a theoretical memory leak with no practical effects in ae_kqueue.c and ae_epoll.c, thanks to magicyang87 for reporting it.