From 8aec4060c0a5dd5697a81f9d49e9c43900751fb8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 5 Jun 1999 22:55:22 +0000 Subject: Pretty sure that the more restrictive umask used by mkstemp() makes the fchmod not neccessary --- usr.sbin/httpd/src/modules/proxy/proxy_cache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.sbin/httpd/src/modules/proxy/proxy_cache.c b/usr.sbin/httpd/src/modules/proxy/proxy_cache.c index 035a4c444c1..46951f62ba9 100644 --- a/usr.sbin/httpd/src/modules/proxy/proxy_cache.c +++ b/usr.sbin/httpd/src/modules/proxy/proxy_cache.c @@ -1006,7 +1006,6 @@ int ap_proxy_cache_update(cache_req *c, table *resp_hdrs, c->tempfile); return DECLINED; } - (void) fchmod(i, 0622); ap_note_cleanups_for_fd(r->pool, i); c->fp = ap_bcreate(r->pool, B_WR); -- cgit v1.2.3