sljit icon indicating copy to clipboard operation
sljit copied to clipboard

Completion of error handling

Open elfring opened this issue 6 years ago • 4 comments

Would you like to add more error handling for return values from functions like the following?

elfring avatar Dec 21 '19 19:12 elfring

I don't really understand your request. Do you want more error codes?

zherczeg avatar Dec 24 '19 18:12 zherczeg

I suggest to avoid ignorance of return values a bit more. Would you like to detect every error situation as early as possible?

elfring avatar Dec 24 '19 19:12 elfring

I will never check the return value of printf, but mutex lock can be, although it would be a libc bug if that function fails.

zherczeg avatar Dec 26 '19 22:12 zherczeg

  • Should file output failures get also any more development attention in addition to data synchronisation difficulties?
  • How do you think about to improve static source code analysis also for this software?

elfring avatar Dec 27 '19 09:12 elfring