summaryrefslogtreecommitdiff
path: root/src/stat_cache.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-06-19 23:25:39 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-07-15 22:42:15 -0400
commit685cab057e4e45cdf1203bc830d8fe3ed02ecf9f (patch)
treef499b5c77961c3eec056469249ba52624899bb00 /src/stat_cache.c
parent31011adda99d938a28f78944f34bd85eb6701b6e (diff)
downloadlighttpd1.4-685cab057e4e45cdf1203bc830d8fe3ed02ecf9f.tar.gz
lighttpd1.4-685cab057e4e45cdf1203bc830d8fe3ed02ecf9f.zip
[core] rename fd_close_on_exec()
rename fd_close_on_exec() to fdevent_setfd_cloexec()
Diffstat (limited to 'src/stat_cache.c')
-rw-r--r--src/stat_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat_cache.c b/src/stat_cache.c
index 796050dd..f82e351f 100644
--- a/src/stat_cache.c
+++ b/src/stat_cache.c
@@ -142,7 +142,7 @@ stat_cache *stat_cache_init(server *srv) {
FAMNoExists(&sc->fam);
#endif
- fd_close_on_exec(FAMCONNECTION_GETFD(&sc->fam));
+ fdevent_setfd_cloexec(FAMCONNECTION_GETFD(&sc->fam));
fdevent_register(srv->ev, FAMCONNECTION_GETFD(&sc->fam), stat_cache_handle_fdevent, NULL);
fdevent_event_set(srv->ev, &(sc->fam_fcce_ndx), FAMCONNECTION_GETFD(&sc->fam), FDEVENT_IN);
}