patch for win32
Frediano Ziglio
freddyz77 at tin.it
Sat Jul 8 08:14:47 UTC 2006
I had some problem getting tor running on windows. I used
FascistFirewall option but this make tor.exe crash (0.1.1.21 from
installer, 0.1.1.22 from downloaded tor and cvs version). I fixed with
crash.diff. To compile I had to apply project.diff to include a new file
and remove old one. Then stopping and starting tor I had a bad assertion
caused by mmap use. You save cached routers writing file textually but
you compute offsets using program size. This cause an assert when you
load from cache cause "\n" character written to file became "\r\n" under
windows (see mmap.diff patch). I used msvc6 which have older headers so
GetVersionEx use a former declaration for structure, I disable code to
parse full version using oldver.diff. Also msvc6 do not support
conversion from uint64 to double and I use badcast.diff patch (but I
don't know if this patch should be applied blindly...)
bye
Frediano Ziglio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.diff
Type: text/x-patch
Size: 1142 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20060708/8e7611b7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: project.diff
Type: text/x-patch
Size: 1305 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20060708/8e7611b7/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmap.diff
Type: text/x-patch
Size: 3256 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20060708/8e7611b7/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oldver.diff
Type: text/x-patch
Size: 3751 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20060708/8e7611b7/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: badcast.diff
Type: text/x-patch
Size: 3749 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20060708/8e7611b7/attachment-0004.bin>
More information about the tor-dev
mailing list