On Mon, Nov 21, 2011 at 12:52:02PM +0100, Simon Kuhnle wrote: > I did a port of nzbget (http://nzbget.sourceforge.net/) > and one for libpar2 (which is a dependency for nzbget). > > Tested on amd64 and sparc64, works fine for me. > > Please test and comment: > http://blarzwurst.de/openbsd/libpar2.tgz > http://blarzwurst.de/openbsd/nzbget.tgz
I got a report that nzbget in servermode was crying after downloading the first nzb file. I could reproduce this: ERROR Could not accept connection: ErrNo 4, Interrupted system call ERROR Binding socket failed for 127.0.0.1: ErrNo 48, Address already in use I don't know why this doesn't happen under Linux, but I added a patch that tries accept() again, if errno was set to EINTR. Tarballs are up to date. Any hints for a cleaner way to do this would be appreciated. -- Simon