LO exit codes?

Henry Castro hcvcastro at gmail.com
Mon Feb 1 12:34:42 PST 2016


>> What is EXIT_NOPERM?

common code "sysexits.h"

#define EX_NOPERM       77      /* permission denied */

I will clean up.  Thanks



2016-02-01 4:27 GMT-04:00 Stephan Bergmann <sbergman at redhat.com>:

> 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.
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20160201/8b7e08c8/attachment.html>


More information about the LibreOffice mailing list