* text.c (do_enter): Fix issue when compiled with --enable-debug, fixes Savannah bug 24092.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4309 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
77bf1b5197
commit
dc7136a082
|
@ -1,9 +1,10 @@
|
||||||
2008-08-21 Chris Allegretta <chrisa@asty.org>
|
2008-08-21 Chris Allegretta <chrisa@asty.org>
|
||||||
* text.c: Change error messages where we may possibly get into a bad state and urge
|
* text.c: Change error messages where we may possibly get into a bad state and urge
|
||||||
the user to save when this happens. Originally by Benno Schulenberg <bensberg@justemail.net>
|
the user to save when this happens. Originally by Benno Schulenberg <bensberg@justemail.net>
|
||||||
|
* text.c (do_enter): Fix issue when compiled with --enable-debug, fixes Savannah bug 24092.
|
||||||
|
|
||||||
2008-08-08 Magnus Granberg <zorry@ume.nu> / Adam Conrad <?>
|
2008-08-08 Magnus Granberg <zorry@ume.nu> / Adam Conrad <?>
|
||||||
* files.c: (write_file): Add needed flags to open() calls when writing out files. Fixes Savannah bug
|
* files.c (write_file): Add needed flags to open() calls when writing out files. Fixes Savannah bug
|
||||||
#23827: Compilation fails with -D_FORTIFY_SOURCE=2
|
#23827: Compilation fails with -D_FORTIFY_SOURCE=2
|
||||||
|
|
||||||
2008-08-08 Chris Allegretta <chrisa@asty.org>
|
2008-08-08 Chris Allegretta <chrisa@asty.org>
|
||||||
|
|
|
@ -649,7 +649,7 @@ void do_enter(void)
|
||||||
filestruct *newnode = make_new_node(openfile->current);
|
filestruct *newnode = make_new_node(openfile->current);
|
||||||
size_t extra = 0;
|
size_t extra = 0;
|
||||||
|
|
||||||
assert(openfile->current != NULL && xopenfile->current->data != NULL);
|
assert(openfile->current != NULL && openfile->current->data != NULL);
|
||||||
|
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
update_undo(SPLIT);
|
update_undo(SPLIT);
|
||||||
|
|
Loading…
Reference in New Issue