summaryrefslogtreecommitdiffstats
path: root/src/strings.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-04-13 17:39:57 +0200
committerMark Wielaard <[email protected]>2014-04-18 11:46:51 +0200
commit3232479483cad695d1872b879128a23da3953a7d (patch)
tree775fd4f2dc1620baa75c96e7d1e73fb882b57671 /src/strings.c
parentf7cdc74ed34adc539186385342d99b357c3dbb6b (diff)
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 <[email protected]>
Diffstat (limited to 'src/strings.c')
-rw-r--r--src/strings.c8
1 files changed, 0 insertions, 8 deletions
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
}