Re: [PATCH] Switch from numerical to defined constants for permissions.

2020-11-03 Thread Mark Wielaard
ude > #include > #include > +#include "system.h" > > #include ELFUTILS_HEADER(dwelf) > > @@ -50,7 +51,7 @@ main (int argc, char *argv[] __attribute__ ((unused))) >Dwelf_Strent *shstrtabse; >int i; > > - fd = open (fname, O_RDWR | O

[PATCH] Switch from numerical to defined constants for permissions.

2020-11-01 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim 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 --- I'm a bit unsure ab