Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160658 Details for
Bug 232100
sys-fs/udftools-1.0.0b-r7 - 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 udftools
udftools-open_missing_mode.patch (text/plain), 546 bytes, created by
Magnus Granberg
on 2008-07-17 19:03:04 UTC
(
hide
)
Description:
Fix for O_CREAT bug in udftools
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2008-07-17 19:03:04 UTC
Size:
546 bytes
patch
obsolete
>diff -Nur /var/tmp/portage/sys-fs/udftools-1.0.0b-r7/work/udftools-1.0.0b3/pktsetup/pktsetup.c /root/hardened/udftools-1.0.0b3/pktsetup/pktsetup.c >--- /udftools-1.0.0b3/pktsetup/pktsetup.c 2008-06-19 00:27:08.000000000 +0200 >+++ /udftools-1.0.0b3/pktsetup/pktsetup.c 2008-06-19 00:20:31.000000000 +0200 >@@ -85,7 +85,7 @@ > { > int pkt_fd, dev_fd, cmd; > >- if ((pkt_fd = open(pkt_device, O_RDONLY | O_CREAT)) == -1) { >+ if ((pkt_fd = open(pkt_device, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)) == -1) { > perror("open packet device"); > return; > }
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 232100
:
160658
|
170280