FreeBSD Bugzilla – Attachment 10530 Details for
Bug 21089
[patch] vi(1) silently corrupts open file on SIGINT when entering :wq in command mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nvi-netbsd-v_txt.c-2.diff
nvi-netbsd-v_txt.c-2.diff (text/x-diff; charset=us-ascii), 628 bytes, created by
Jaakko Heinonen
on 2008-02-21 13:23:34 UTC
(
hide
)
Description:
nvi-netbsd-v_txt.c-2.diff
Filename:
MIME Type:
Creator:
Jaakko Heinonen
Created:
2008-02-21 13:23:34 UTC
Size:
628 bytes
patch
obsolete
>Obtained from: NetBSD > >date: 2001/08/20 21:44:57; author: aymeric; state: Exp; lines: +2 -2 >Fix a bug present in nvi 1.79 where ^@ wouldn't behave as expected when >reading an ex command from vi. > >diff -p -u -r1.5 -r1.6 >--- v_txt.c 1 May 2001 16:46:12 -0000 1.5 >+++ v_txt.c 20 Aug 2001 21:44:57 -0000 1.6 >@@ -557,7 +557,7 @@ next: if (v_event_get(sp, evp, 0, ec_fla > * This was not documented as far as I know, and is a great test of vi > * clones. > */ >- if (rcol == 0 && !LF_ISSET(TXT_REPLAY) && evp->e_c == '\0') { >+ if (LF_ISSET(TXT_RECORD) && rcol == 0 && evp->e_c == '\0') { > if (vip->rep == NULL) > goto done; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21089
:
10526
|
10527
|
10528
|
10529
| 10530 |
10531
|
10532