[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#785724: info: in a search, the last line of a section is never found



Control: tags -1 upstream fixed-upstream

On 2015-05-20 00:17:36 +0200, Vincent Lefevre wrote:
> I've reported the bug upstream:
> 
>   http://lists.gnu.org/archive/html/bug-texinfo/2015-05/msg00010.html
> 
> It's either specific to Debian or fixed upstream.
> I'm currently looking at this.

It was fixed in:

r5403 | gray | 2014-01-09 22:58:13 +0100 (Thu, 09 Jan 2014) | 10 lines

Fix search boundary checking.
Based on report from Gavin Smith <gavinsmith0123@gmail.com>

* info/search.c (regexp_search): Save previous values of
start and end bounds (sorted) and rescan the buffer if these
differ from the actual values.
Fix boundary checking (using end bound instead of the buffer
length).
Use x2nrealloc to grow matches buffer.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: