From a2dd1fb44f3f35be27c4a40be798bab0b48070ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krystian=20Bac=C5=82awski?= Date: Sat, 14 May 2016 23:20:58 +0200 Subject: [PATCH] Make gcc under Ubuntu 16.04 stop complaining about missing argument. --- gcc/collect2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/collect2.c b/gcc/collect2.c index 153ac6f..1e00834 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1759,7 +1759,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. */