[Okular-devel] [Bug 157222] Check return codes everywhere

Markus Elfring Markus.Elfring at web.de
Thu Feb 7 12:16:51 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157222         




------- Additional Comments From Markus.Elfring web de  2008-02-07 12:16 -------
> If the exceptions are switched off, that "exit(0);" is not even reached. Thus, no need to worry.

Thanks for this clarification. I suggest to delete dead code in this case.

Is a preprocessor symbol defined by the CMake infrastructure that specifies if a  null pointer check will be required for failed new calls?


> Didn't you offered yourself for writing a patch? ;)

I try to achieve consensus on such API changes before I would fiddle with source code.
Will the "errno" value range be reused for return codes?
Can I read more about the expected error handling at "http://api.kde.org/"?


More information about the Okular-devel mailing list