Source
xxxxxxxxxx
--- src/hash.cpp.orig 2015-04-01 02:12:52.000000000 +0200
+++ src/hash.cpp 2017-10-07 16:05:39.000000000 +0200
MAP_FILE|
#endif
MAP_SHARED,fd,0);
- if(fdht->base>0){
+ if(fdht->base != (void *) -1){
/* mmap is successful, so set the bounds.
* if it is not successful, we default to reading the fd
*/