Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184610 Details for
Bug 261145
sys-block/gpart-0.1h-r1 fails to build with _FORTIFY_SOURCE=2
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 gpart.c
gpart_open_mode.patch (text/plain), 312 bytes, created by
Magnus Granberg
on 2009-03-10 20:42:11 UTC
(
hide
)
Description:
fix for O_CREAT bug in gpart.c
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2009-03-10 20:42:11 UTC
Size:
312 bytes
patch
obsolete
>--- src/gpart.c 2001-02-07 18:08:08.000000000 +0000 >+++ src/gpart.c 2009-03-10 21:29:43.000000000 +0000 >@@ -1221,7 +1221,7 @@ > { > int fd, ret = 0; > >- if ((fd = open(bfile,O_WRONLY|O_CREAT)) < 0) >+ if ((fd = open(bfile,O_WRONLY|O_CREAT,0644)) < 0) > return (ret); > > if (write(fd,d->d_pt.t_boot,512) == 512)
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 261145
:
183947
| 184610