Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211556 Details for
Bug 295142
sys-block/gpart fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix bug
gpart-0.1h-o_create-mode.patch (text/plain), 354 bytes, created by
Ivan Anishchuk
on 2009-11-30 02:51:23 UTC
(
hide
)
Description:
patch to fix bug
Filename:
MIME Type:
Creator:
Ivan Anishchuk
Created:
2009-11-30 02:51:23 UTC
Size:
354 bytes
patch
obsolete
>diff -ur a/src/gpart.c b/src/gpart.c >--- a/src/gpart.c 2009-11-30 10:39:30.000000000 +0800 >+++ b/src/gpart.c 2009-11-30 10:41:09.000000000 +0800 >@@ -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 295142
: 211556 |
211558