summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-05 22:55:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-05 22:55:22 +0000
commit8aec4060c0a5dd5697a81f9d49e9c43900751fb8 (patch)
tree312b7eef35ef2c78e7f7e3b91451a115da53eb9f
parentb127cd08d994179a578d06fe122bc77e09eea30c (diff)
Pretty sure that the more restrictive umask used by mkstemp() makes the fchmod not neccessary
-rw-r--r--usr.sbin/httpd/src/modules/proxy/proxy_cache.c1
1 files changed, 0 insertions, 1 deletions
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);