Bug#518397: Broken ^A (search word) handling

2009-03-07 Thread Jan Christoph Nordholz
tags 518397 + pending thanks Hi Al, ^A handling is broken; it doesn't generate [[::]] in the end of resulting pattern, so e.g. after thanks for your detailed report! I've simplified your patch a little (there's a widechar-aware STRLEN macro available, and re_compile null-terminates its

Bug#518397: Broken ^A (search word) handling

2009-03-05 Thread Al Viro
Package: nvi Version: 1.81.6-4 Tags: patch Severity: important ^A handling is broken; it doesn't generate [[::]] in the end of resulting pattern, so e.g. after cat a EOF a aa a EOF vi a we hit ^A, we'll end up on the second line and not the third one. Next ^A will end up looking for [[::]]aa,