Better fix, remove unneeded closecode variable and update bug credit.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4419 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
2009-11-09 Chris Allegretta <chrisa@asty.org>
|
2009-11-09 Chris Allegretta <chrisa@asty.org>
|
||||||
* files.c (read_file): - Remove debugging messages from file load
|
* files.c (read_file): - Remove debugging messages from file load. Fixes
|
||||||
|
Savannah bug 27838.
|
||||||
|
|
||||||
2009-11-07 Chris Allegretta <chrisa@asty.org>
|
2009-11-07 Chris Allegretta <chrisa@asty.org>
|
||||||
* nano.h - Add bogus value at begin of flags enumeration because it
|
* nano.h - Add bogus value at begin of flags enumeration because it
|
||||||
|
|||||||
@@ -515,7 +515,7 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable)
|
|||||||
nperror(filename);
|
nperror(filename);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
if (fd > 0) {
|
if (fd > 0) {
|
||||||
int closecode = close(fd);
|
close(fd);
|
||||||
writable = is_file_writable(filename);
|
writable = is_file_writable(filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user