summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-15 16:51:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-15 16:51:34 +0000
commitdca87138a99d6634ae3c810a0ca8cc7e52fea41c (patch)
tree2154339f85972f01a0f9828c9d6cb8698a3d07b6
parent73e6aadd502a7e5fac57b4968612862840883a98 (diff)
fix last O_CREAT without mode; otto@drijf.net
-rw-r--r--gnu/egcs/gcc/collect2.c2
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. */