LO exit codes?

Stephan Bergmann sbergman at redhat.com
Mon Feb 1 00:27:58 PST 2016


On 01/29/2016 07:17 PM, Henry Castro wrote:
> I was tracing LO exit codes about corrupted installation. I found
> desktop/source/inc/exithelper.h
>
> EXITHELPER_FATAL_ERROR = 333,    /* Only the low 8 bits are significant
> 333 % 256 = 77 */
>
> it is confused with standard code
>
> EXIT_NOPERM      = 77, /// permission denied
>
> I am not sure for Mac and Windows, but is there any reason why 333
> code?.  any objections if I change to non-standard code?

What is EXIT_NOPERM?

But anyway, yeah, that 333 is silly, given exit(3) et al only use the 
lower eight bits of that argument.  Please clean that up.


More information about the LibreOffice mailing list