qemu/gcc-o_creat.dif

12 lines
368 B
Plaintext

--- gcc/collect2.c
+++ gcc/collect2.c 2007/12/10 12:45:07
@@ -1572,7 +1572,7 @@
if (redir)
{
/* Open response file. */
- redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);
+ redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0644);
/* Duplicate the stdout and stderr file handles
so they can be restored later. */