FreeBSD Bugzilla – Attachment 10532 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-4.diff
nvi-netbsd-v_txt.c-4.diff (text/x-diff; charset=us-ascii), 821 bytes, created by
Jaakko Heinonen
on 2008-02-21 13:23:34 UTC
(
hide
)
Description:
nvi-netbsd-v_txt.c-4.diff
Filename:
MIME Type:
Creator:
Jaakko Heinonen
Created:
2008-02-21 13:23:34 UTC
Size:
821 bytes
patch
obsolete
>Obtained from: NetBSD > >date: 2004/11/23 14:35:45; author: aymeric; state: Exp; lines: +3 -3 >branches: 1.12.2; >Move a line of code which was "obviously" misplaced. >This fixes a core dump when auto-completing filenames and at least one of the >file names is larger than the screen width. > >Bug report and fix by Peter Bex in PR#28382 > >diff -p -u -r1.11 -r1.12 >--- v_txt.c 6 Jun 2003 08:06:47 -0000 1.11 >+++ v_txt.c 23 Nov 2004 14:35:45 -0000 1.12 >@@ -2235,8 +2235,8 @@ txt_fc_col(sp, argc, argv) > > /* If the largest file name is too large, just print them. */ > if (colwidth > sp->cols) { >- p = msg_print(sp, av[0]->bp + prefix, &nf); > for (ac = argc, av = argv; ac > 0; --ac, ++av) { >+ p = msg_print(sp, av[0]->bp + prefix, &nf); > (void)ex_printf(sp, "%s\n", p); > if (F_ISSET(gp, G_INTERRUPTED)) > break;
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