[patch] [libeio] Fix demo.c
Marc Lehmann
schmorp at schmorp.de
Sat Mar 20 19:21:25 CET 2010
On Sat, Mar 20, 2010 at 12:41:35PM +0100, Gabriel Kerneis <kerneis at pps.jussieu.fr> wrote:
Thanks, there is somethign... fascinating about patches to unfinished libs
:)
> Besides, the truncate call fails (well, at least req->result is < 0) but
> I didn't figure out why yet.
hmm, at least from perl it works:
*cerebro ~/src/libeio# perl -MCoro::AIO -e 'warn truncate "/tmp/x", 5'
1 at -e line 1.
cerebro ~/src/libeio# ll /tmp/x
-rw-rw-rw- 1 mysql mysql 5 Mar 20 19:20 /tmp/x
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the libev
mailing list