Mercurial > hg > Applications > Grep
diff regexParser/CeriumGrep.cc @ 299:bdfe0a32c48f
grepWalk
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 03 Feb 2016 13:11:10 +0900 |
parents | 948428caf616 |
children | c9ac6f06e706 |
line wrap: on
line diff
--- a/regexParser/CeriumGrep.cc Wed Feb 03 12:24:34 2016 +0900 +++ b/regexParser/CeriumGrep.cc Wed Feb 03 13:11:10 2016 +0900 @@ -65,7 +65,7 @@ st_mmap_t st_mmap = createSt_mmap(filename,fd); Buffer buff = createBuffer(st_mmap); if (ts) threadedSearch(tgv.tg,buff); - else grepWalk(tgv.tg,buff.buffptr,buff); + else grepWalk(tgv.tg,buff); close(fd); }