[Libtorrent-devel] [PATCH] rtorrent 0.8.2 does not compile on DragonFly BSD

Rumko rumcic at gmail.com
Fri Dec 5 10:37:38 UTC 2008

Due to DragonFly not having d_reclen in it's dirent structure, rtorrent will 
not compile. Noticed this because rtorrent was updated from 0.7.9 to 0.8.2 in 

I have tried to remove d_reclen being used in directory.cc (and delete the 
member from the struct in directory.h), but after starting rtorrent it seems 
that it cant find the files that I have already downloaded (instead of 
looking for $base_dir/$dir/$file, it tries to open $base_dir/$file). I'll 
probably play with this in the weekend and hopefully make a working patch.

P.S.: in src/utils/directory.h it is mentioned that the names and types should 
match POSIX, but I fail to find d_reclen mentioned in POSIX?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://rakshasa.no/pipermail/libtorrent-devel/attachments/20081205/048ea05e/attachment.bin

More information about the Libtorrent-devel mailing list