]> granicus.if.org Git - postgresql/commit
Remove long-obsolete catering for platforms without F_SETFD/FD_CLOEXEC.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Apr 2017 18:48:29 +0000 (14:48 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Apr 2017 18:48:29 +0000 (14:48 -0400)
commit536d47bd9d5fce8d91929bee3128fa1d08dbcc57
tree9b02a04527e66667a701c65241ff5673a8c6ce3a
parentdcb39c37c1d3b90115e1501af8efb7af59c341c3
Remove long-obsolete catering for platforms without F_SETFD/FD_CLOEXEC.

SUSv2 mandates that <fcntl.h> provide both F_SETFD and FD_CLOEXEC,
so it seems pretty unlikely that any platforms remain without those.
Remove the #ifdef-ery installed by commit 7627b91cd to see if the
buildfarm agrees.

Discussion: https://postgr.es/m/21444.1492798101@sss.pgh.pa.us
src/interfaces/libpq/fe-connect.c