|
| From: | Pantxo Diribarne |
| Subject: | [Octave-bug-tracker] [bug #49197] xmlread in IO-pkg - open file handles |
| Date: | Tue, 27 Sep 2016 21:55:57 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #5, bug #49197 (project octave):
I attached a patch. The unwind_protect enclosing try/catch blocks looks hacky
but as I don't know a proper way to handle java exceptions I can't think of a
better method. I used "ls -l /proc/OCTAVEPID/fd" to check the file was now
properly closed.
(file #38611)
_______________________________________________________
Additional Item Attachment:
File name: close_os.patch Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49197>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |