>> 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 <[email protected]>:

> 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
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to