On 11/22/19 10:04 AM, H.Merijn Brand wrote:
HP-UX 11.23/ia64 using GNU gcc-4.6.1 does not know about O_CLOEXEC
Thanks for the report. There's a better patch in the devel branch.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - H
HP-UX 11.23/ia64 using GNU gcc-4.6.1 does not know about O_CLOEXEC
--8<---
--- examples/loadables/fdflags.c.org2019-11-22 16:03:07 +
+++ examples/loadables/fdflags.c2019-11-22 16:00:54 +
@@ -113,8 +113,10 @@ getflags(int fd, int p)
return -1;
}
+#ifdef O_CLOEXEC