NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/57630: vi coredump
The following reply was made to PR bin/57630; it has been noted by GNATS.
From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/57630: vi coredump
Date: Wed, 27 Sep 2023 09:37:14 +0000 (UTC)
On Tue, 26 Sep 2023, Simon Burge wrote:
>> How-To-Repeat:
> 1. Start vi.
> 2. Type a <esc>
> 3. Type :%s/^ <enter>
> 4. See vi segfault.
Can't reproduce this with the system vi in 9.3 which is:
Version (1.81.6-2013-11-20nb4) The CSRG, University of California, Berkeley.
:%s/^<space><space><enter>
:%s/^<space><enter>
:%s/^<enter>
all say: No match found--which is correct since it's an empty buffer. With
the appropriate file contents, it correctly deletes the pattern (the last one
being a no-op).
What does your ~/.exrc look like?
-RVP
Home |
Main Index |
Thread Index |
Old Index