[core] replace open() with fdevent_open_cloexec()
commita15f40a569d4c32666956faa5f1e779fc1eb2832
authorGlenn Strauss <gstrauss@gluelogic.com>
Tue, 26 Mar 2019 00:56:48 +0000 (25 20:56 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Sat, 20 Apr 2019 06:10:28 +0000 (20 02:10 -0400)
tree68e052751b91f4a154115c75846811270f794b8e
parentf1e9bcb08a5c736fb55c92dce8370ff70c8cd2df
[core] replace open() with fdevent_open_cloexec()

fdevent_open_cloexec() opens files O_BINARY for consistency,
and with O_NONBLOCK, so that the server will not block if the
target file to open is a fifo.
src/fdevent_solaris_devpoll.c
src/mod_compress.c
src/mod_dirlisting.c
src/mod_ssi.c
src/mod_webdav.c
src/stat_cache.c