From 3232479483cad695d1872b879128a23da3953a7d Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 13 Apr 2014 17:39:57 +0200 Subject: Remove mudflap build option. The --enable-mudflap configure build has been broken for 2 years without anybody apparently noticing. GCC 4.9 removed mudflap support. Before release we now run make distcheck with valgrind support. Removal of the mudflap configure option simplifies the build a little. Signed-off-by: Mark Wielaard --- src/strings.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/strings.c') diff --git a/src/strings.c b/src/strings.c index 37210a74..f60e4b4d 100644 --- a/src/strings.c +++ b/src/strings.c @@ -465,13 +465,6 @@ process_chunk (const char *fname, const unsigned char *buf, off64_t to, static void * map_file (int fd, off64_t start_off, off64_t fdlen, size_t *map_sizep) { -#if _MUDFLAP - (void) fd; - (void) start_off; - (void) fdlen; - (void) map_sizep; - return MAP_FAILED; -#else /* Maximum size we mmap. We use an #ifdef to avoid overflows on 32-bit machines. 64-bit machines these days do not have usable address spaces larger than about 43 bits. Not that any file @@ -513,7 +506,6 @@ map_file (int fd, off64_t start_off, off64_t fdlen, size_t *map_sizep) *map_sizep = map_size; return mem; -#endif } -- cgit v1.2.3