Switch from numerical to defined constants for permissions.
authorÉrico Rolim <erico.erc@gmail.com>
Mon, 2 Nov 2020 01:49:46 +0000 (22:49 -0300)
committerMark Wielaard <mark@klomp.org>
Tue, 3 Nov 2020 14:54:14 +0000 (15:54 +0100)
commitced66615bd8c3671c50252cba254fb939b04e362
treeb26cee9fe348001db1660cfd464107fcc37765b3
parent95ec1659cdd134a5fd260fffd9e3220909851903
Switch from numerical to defined constants for permissions.

Use defined constants for permission values. Also add fallback
definitions for them in system.h, to allow for compatibility with
systems that don't provide these macros.

Include system.h in all tests/ files that required it.

Signed-off-by: Érico Rolim <erico.erc@gmail.com>
Signed-off-by: Mark Wielaard <mark@klomp.org>
19 files changed:
debuginfod/ChangeLog
debuginfod/debuginfod-client.c
lib/ChangeLog
lib/system.h
src/ChangeLog
src/unstrip.c
tests/ChangeLog
tests/alldts.c
tests/arextract.c
tests/ecp.c
tests/elfstrtab.c
tests/emptyfile.c
tests/fillfile.c
tests/newdata.c
tests/update1.c
tests/update2.c
tests/update3.c
tests/update4.c
tests/vendorelf.c