mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 15:12:30 +00:00
* 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:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user