Re: 5.0.11 is missing #ifdefs on CLOEXEC

2019-11-22 Thread Chet Ramey
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

5.0.11 is missing #ifdefs on CLOEXEC

2019-11-22 Thread H.Merijn Brand
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