Re: scripts/basic/bin2c: Complete error handling in main()

From: SF Markus Elfring
Date: Wed Nov 02 2016 - 14:46:59 EST


> I like the code as is.

Do you really prefer to ignore important return values in the discussed function?


> Such error checks and magic numbers are messy.

Is it safer to detect exceptional situations as early as possible here?

Regards,
Markus