Changeset 4074


Ignore:
Timestamp:
Aug 21, 2014, 6:11:47 PM (5 years ago)
Author:
cameron
Message:

Fix output error in MMAP mode; set MMAP as default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/icgrep.cpp

    r4040 r4074  
    6464
    6565
    66 //#define USE_MMAP
     66#define USE_MMAP
    6767#ifndef USE_MMAP
    6868void do_process(FILE *infile, FILE *outfile, int count_only_option, int carry_count, process_block_fcn process_block);
     
    396396            while (LF_scanner.has_next()) {
    397397                line_end = LF_scanner.scan_to_next();
     398                line_start = line_end+1;
    398399                line_no++;
    399400            }
     
    526527        {
    527528            line_end = LF_scanner.scan_to_next();
     529            line_start = line_end+1;
    528530            line_no++;
    529531        }
Note: See TracChangeset for help on using the changeset viewer.