Re: [tor-dev] torsocks-v2.0.0-rc3 NetBSD improvements

2013-11-06 Thread David Goulet
On 05 Nov (14:25:25), David Goulet wrote: > On 05 Nov (16:14:33), Thomas Klausner wrote: > > > > And what is the point of src.old inside the tarball? > > This is temporary, it contains the source of the previous version (1.3) > and I keep them there as a reference for now since it's a rewrite alm

Re: [tor-dev] torsocks-v2.0.0-rc3 NetBSD improvements

2013-11-05 Thread Yawning Angel
On Tue, 5 Nov 2013 14:25:25 -0500 David Goulet wrote: > I encountered that on FreeBSD but I can't really make it go > away :S ... mmap() returns a void * but syscall() returns an int on > BSD but even with a cast it prints the warning... I have *no* idea > how *BSD systems handle syscall(SYS_MMAP

Re: [tor-dev] torsocks-v2.0.0-rc3 NetBSD improvements

2013-11-05 Thread David Goulet
On 05 Nov (16:14:33), Thomas Klausner wrote: > Hi! > > I've patched torsocks-v2.0.0-rc3 to compile on NetBSD. > > There is one warning left: > syscall.c: In function 'handle_mmap': > syscall.c:88:9: warning: cast from pointer to integer of different size I encountered that on FreeBSD but I can't

[tor-dev] torsocks-v2.0.0-rc3 NetBSD improvements

2013-11-05 Thread Thomas Klausner
Hi! I've patched torsocks-v2.0.0-rc3 to compile on NetBSD. There is one warning left: syscall.c: In function 'handle_mmap': syscall.c:88:9: warning: cast from pointer to integer of different size and I haven't done any functional tests yet. What is the easiest way to do that? Attached are the p