* Switch the order rak::advance_bidirectional iterates.

* When testing for mincore, cast the address pointer to (char*).

* Failure during syncing causes the download to stop, unless
flag_ignore_error is set.

* Trigger storage error signal for HashTorrent in
DownloadWrapper::receive_initial_hash.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@774 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-09-10 03:28:09 +00:00
parent b90a220e15
commit 407824c9c8
2 changed files with 13 additions and 21 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ AC_DEFUN([TORRENT_MINCORE_SIGNEDNESS], [
AC_COMPILE_IFELSE(
[[#include <sys/types.h>
#include <sys/mman.h>
void f() { mincore((void*)0, 0, (unsigned char*)0); }
void f() { mincore((char*)0, 0, (unsigned char*)0); }
]],
[
AC_DEFINE(USE_MINCORE, 1, Use mincore)
@@ -86,7 +86,7 @@ AC_DEFUN([TORRENT_MINCORE_SIGNEDNESS], [
AC_COMPILE_IFELSE(
[[#include <sys/types.h>
#include <sys/mman.h>
void f() { mincore((void*)0, 0, (char*)0); }
void f() { mincore((char*)0, 0, (char*)0); }
]],
[
AC_DEFINE(USE_MINCORE, 1, Use mincore)