diff options
author | Tom Rini <trini@embeddedalley.com> | 2009-04-30 08:37:18 -0700 |
---|---|---|
committer | Tom Rini <trini@embeddedalley.com> | 2009-04-30 09:16:38 -0700 |
commit | 3628be8901b747558b219d55b370a1f20e1dce5f (patch) | |
tree | a5d856f7a729fa849f8e682c90569e45dc2d2de9 /recipes/gcc/files | |
parent | f13ab24657b5b34ce443896ac87026e2ea302fc9 (diff) |
gcc-3.4.x: Rename gcc-posix.patch to gcc-posix-open-fix.patch, put in files/
Diffstat (limited to 'recipes/gcc/files')
-rw-r--r-- | recipes/gcc/files/gcc-posix-open-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/gcc/files/gcc-posix-open-fix.patch b/recipes/gcc/files/gcc-posix-open-fix.patch new file mode 100644 index 0000000000..99f813e866 --- /dev/null +++ b/recipes/gcc/files/gcc-posix-open-fix.patch @@ -0,0 +1,11 @@ +--- gcc-3.4.6/gcc/collect2.c 2008-10-04 18:17:17.796750393 +0400 ++++ gcc-3.4.6/gcc/collect2.new 2008-10-04 18:24:10.120748711 +0400 +@@ -1534,7 +1534,7 @@ collect_execute (const char *prog, char + 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, S_IWUSR); + + /* Duplicate the stdout and stderr file handles + so they can be restored later. */ |