save_textarea_file(): cleanup handling of error, closing descriptors
commit1e00f2d10d1c82d351834845f69ae3a1adf957bd
authorLaurent MONIN <zas@norz.org>
Mon, 5 Mar 2007 20:44:58 +0000 (5 21:44 +0100)
committerLaurent MONIN <zas@ifrit.norz.org>
Mon, 5 Mar 2007 20:44:58 +0000 (5 21:44 +0100)
tree24aac42e79a1747121c7395a8d8b5fbb2d7ea712
parent12ec62810b5f9b37ff44bb2c9c696ac4b23c6967
save_textarea_file(): cleanup handling of error, closing descriptors
and unlinking created file. Patch by Alexey Tourbin.
src/viewer/text/textarea.c