Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160659 Details for
Bug 232102
sys-libs/libstdc++-v3-3.3.6 - open with O_CREAT in second argument needs 3 arguments
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for O_CREAT bug in libstdc++-v3
libstdc++-v3-open_missing_mode.patch (text/plain), 580 bytes, created by
Magnus Granberg
on 2008-07-17 19:11:22 UTC
(
hide
)
Description:
Fix for O_CREAT bug in libstdc++-v3
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2008-07-17 19:11:22 UTC
Size:
580 bytes
patch
obsolete
>diff -Nru /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/collect2.c /root/hardened/gcc-3.3.6/gcc/collect2.c >--- /gcc-3.3.6/gcc/collect2.c 2003-12-08 20:02:39.000000000 +0100 >+++ /gcc-3.3.6/gcc/collect2.c 2008-06-19 01:04:21.000000000 +0200 >@@ -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, S_IRUSR | S_IWUSR); > > /* Duplicate the stdout and stderr file handles > so they can be restored later. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232102
: 160659