This commit is contained in:
Christien Rioux 2015-12-12 21:00:37 -08:00
parent 0edcc5eed0
commit 26ee21e8de

View File

@ -9,6 +9,7 @@
#include"turbo_linecount.h" #include"turbo_linecount.h"
#include<algorithm> #include<algorithm>
#include<cstring> #include<cstring>
#include<cstdio>
#include<errno.h> #include<errno.h>
#ifdef min #ifdef min
#undef min #undef min
@ -303,6 +304,8 @@ unsigned int CLineCount::countThread(int thread_number)
// Move to next buffer // Move to next buffer
curoffset += stride; curoffset += stride;
lastmapsize = mapsize; lastmapsize = mapsize;
// printf("%lld\n", curoffset);
} }
// Clean up memory map // Clean up memory map