[patch] [libeio] Fix demo.c

Gabriel Kerneis kerneis at pps.jussieu.fr
Sat Mar 20 12:41:35 CET 2010


$ cvs diff demo.c
Index: demo.c
===================================================================
RCS file: /schmorpforge/libeio/demo.c,v
retrieving revision 1.2
diff -r1.2 demo.c
147,148c147,148
<       eio_readdir ("eio-test-dir", 0, readdir_cb, "readdir");
<       eio_readdir ("/nonexistant", 0, readdir_cb, "readdir");
---
>       eio_readdir ("eio-test-dir", 0, 0, readdir_cb, "readdir");
>       eio_readdir ("/nonexistant", 0, 0, readdir_cb, "readdir");

Besides, the truncate call fails (well, at least req->result is < 0) but
I didn't figure out why yet.

Regards,
-- 
Gabriel Kerneis



More information about the libev mailing list