On Sat, Mar 20, 2010 at 12:41:35PM +0100, Gabriel Kerneis 
<[email protected]> 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
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to