Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 176439 Details for
Bug 240330
app-editors/nano-2.1.6 segfault when try to delete the last empty line with ctl+k
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 2.1.5
nano-2.1.5.patch (text/plain), 848 bytes, created by
Stefan Oswald
on 2008-12-26 14:52:25 UTC
(
hide
)
Description:
Patch for 2.1.5
Filename:
MIME Type:
Creator:
Stefan Oswald
Created:
2008-12-26 14:52:25 UTC
Size:
848 bytes
patch
obsolete
>--- nano-2.1.5/src/nano.c.old 2008-08-30 22:18:42.000000000 +0200 >+++ nano-2.1.5/src/nano.c 2008-12-26 15:49:57.000000000 +0100 >@@ -127,7 +127,10 @@ > { > filestruct *head, *copy; > >- assert(src != NULL); >+ //assert(src != NULL); >+ // escor - bug fix if we stand at the last line and cut the text >+ if ( ! src ) >+ return NULL; > > copy = copy_node(src); > copy->prev = NULL; >@@ -430,7 +433,10 @@ > > /* Put the top and bottom of the filestruct at copies of file_top > * and file_bot. */ >- openfile->fileage = copy_filestruct(file_top); >+ >+ // escor - bug fix if we stand at the last line and cut the text >+ if ( ! ( openfile->fileage = copy_filestruct(file_top) ) ) >+ return; > openfile->filebot = openfile->fileage; > while (openfile->filebot->next != NULL) > openfile->filebot = openfile->filebot->next;
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 240330
:
167542
|
167544
|
167545
| 176439