>Synopsis: mg bus error whan searching on sparc64
>Arrival-Date: Thu Jan 26 19:10:01 GMT 2006
>Originator: Marco S Hyman
>Release: OpenBSD 3.8-current (GENERIC) #14: Sun Jan 15 16:15:45 PST 2006
System : OpenBSD 3.8
Machine : sparc64
Search fails with core dump after adding a word to search
string with ^W.
In mg place cursor on start of a word.
hit ^S to start search
hit ^W to add current word to search string
hit ^S to find next occurance of word
Bus error (core dumped)
Otto Moerbeek writes:
> On Thu, 26 Jan 2006, Otto Moerbeek wrote:
> > pptr is -1 if ^W follows the ^S immediately. This seems to fix it, but
> > beware, this is the first time I looked at the mg source...
> This is probably better, since it also covers backward searches.