Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 183960 Details for
Bug 260081
app-text/clara-20031214 __open_missing_mode' declared with attribute error: 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]
fix for O_CREAT bug in pgmblock.c
clara_open_mode.patch (text/plain), 567 bytes, created by
Magnus Granberg
on 2009-03-05 02:11:30 UTC
(
hide
)
Description:
fix for O_CREAT bug in pgmblock.c
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2009-03-05 02:11:30 UTC
Size:
567 bytes
patch
obsolete
>--- pgmblock.c 2002-04-29 14:26:13.000000000 +0000 >+++ pgmblock.c 2009-03-05 02:51:43.000000000 +0000 >@@ -161,7 +161,7 @@ > > printf("%d rare pixels (%1.4f)\n",t,((float)t)/(w*h)); > >- F = open("map",O_WRONLY|O_CREAT); >+ F = open("map",O_WRONLY|O_CREAT, 0644); > write(F,m,h*bpl); > write(F,map,256); > close(F); >@@ -197,7 +197,7 @@ > { > int i,j,F; > >- F = open("map",O_RDONLY|O_CREAT); >+ F = open("map",O_RDONLY|O_CREAT, 0644); > read(F,m,h*bpl); > read(F,map,256); > close(F);
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 Raw
Actions:
View
Attachments on
bug 260081
:
182973
| 183960 |
210413