From c26ef132d812d34135a25833df3c3f046fb1bfea Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Tue, 27 Nov 2007 12:43:54 +0000 Subject: [PATCH] oneliner to fix i_pos updating. works for me. --- modules/access/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/file.c b/modules/access/file.c index ccaf3e8b67..5b572b01a8 100644 --- a/modules/access/file.c +++ b/modules/access/file.c @@ -394,7 +394,7 @@ static block_t *mmapBlock (access_t *p_access) return NULL; } - p_access->info.i_pos = offset + length; + p_access->info.i_pos += length; msg_Dbg (p_access, "mapped %lu bytes at %p from offset %lu", (unsigned long)length, addr, (unsigned long)offset); -- 2.39.2