Commit 0fc792a6 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Be slightly less anal about the umask used to run CC

parent adf962fa
......@@ -162,7 +162,7 @@ run_cc(void *priv)
VSB_putc(sb, '%');
AZ(VSB_finish(sb));
(void)umask(0177);
(void)umask(077);
(void)execl("/bin/sh", "/bin/sh", "-c", VSB_data(sb), (char*)0);
VSB_delete(sb); // For flexelint
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment