Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


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@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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.