| Bugs item #2817232, was opened at 2009-07-06 04:33
Message generated for change (Comment added) made by jpff
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2817232&group_id=81968
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: csound5
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Markus Elfring (elfring)
Assigned to: Nobody/Anonymous (nobody)
Summary: Completion of error handling
Initial Comment:
I would like to continue the previous bug report "Check return codes everywhere".
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=1680767&group_id=81968
A couple of source files contain still unchecked function calls.
Examples:
- ftload() ⇒ fread(), fgets()
ftsave() ⇒ fwrite(), fprintf()
http://csound.cvs.sourceforge.net/viewvc/csound/csound5/Opcodes/ftgen.c?revision=1.16&view=markup
- RTclose() ⇒ fclose(), fcntl()
http://csound.cvs.sourceforge.net/viewvc/csound/csound5/Engine/linevent.c?revision=1.44&view=markup
- Conversions::fill() ⇒ strdup()
http://csound.cvs.sourceforge.net/viewvc/csound/csound5/frontends/CsoundAC/Conversions.cpp?revision=1.8&view=markup
Would you like to reduce the efforts for error code checking by an exception class hierarchy?
http://dietmar-kuehl.de/mirror/c++-faq/exceptions.html#faq-17.1
http://cexcept.sourceforge.net/
----------------------------------------------------------------------
>Comment By: John ffitch (jpff)
Date: 2010-03-01 13:42
Message:
Accepted in principle. Much changed, but some will take a little longer
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2817232&group_id=81968
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/list |