]> git.wh0rd.org Git - nano.git/commit
* files.c (write_file): Check exit code of fclose(), since in certain out of space...
authorChris Allegretta <chrisa@asty.org>
Sat, 16 Aug 2008 23:54:15 +0000 (23:54 +0000)
committerChris Allegretta <chrisa@asty.org>
Sat, 16 Aug 2008 23:54:15 +0000 (23:54 +0000)
commit2cc58882f6f9b8c242c4d51cb59f645a1efb22c1
tree5700d7fcb491ab410cab224858b64ca6bd54ab6c
parent93f2ea11940998e034f09e0fb2bea798e517c2ff
* files.c (write_file): Check exit code of fclose(), since in certain out of space conditions the OS will
  happily report successful fwrite()s until you try and close the file.  Fix for Savannah bug
  #24000: no free space on partition - nano claims successful write - file empty

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4304 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
ChangeLog
src/files.c