diff options
-rw-r--r-- | gnu/egcs/gcc/collect2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/collect2.c b/gnu/egcs/gcc/collect2.c index 75d5f8849cf..cd7ee2747e7 100644 --- a/gnu/egcs/gcc/collect2.c +++ b/gnu/egcs/gcc/collect2.c @@ -1775,7 +1775,7 @@ collect_execute (prog, argv, redir) 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, 0666); /* Duplicate the stdout and stderr file handles so they can be restored later. */ |