Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 591139 Details for
Bug 629640
Wrong open file flags result in wrong behaviour when opening un-existed file for reading
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch used in gdbm-1.8.3
gdbm-1.8.0-gdbmopen.patch (text/plain), 664 bytes, created by
Honza Horak
on 2012-06-12 08:24:26 UTC
(
hide
)
Description:
proposed patch used in gdbm-1.8.3
Filename:
MIME Type:
Creator:
Honza Horak
Created:
2012-06-12 08:24:26 UTC
Size:
664 bytes
patch
obsolete
>diff -up gdbm-1.8.0/gdbmopen.c.gdbmopen gdbm-1.8.0/gdbmopen.c >--- gdbm-1.8.0/gdbmopen.c.gdbmopen 2012-06-12 10:08:02.853499099 +0200 >+++ gdbm-1.8.0/gdbmopen.c 2012-06-12 10:08:13.620769745 +0200 >@@ -129,19 +129,17 @@ gdbm_open (file, block_size, flags, mode > dbf->desc = open (dbf->name, O_RDONLY, 0); > break; > >- case GDBM_OPENMASK: >+ case GDBM_WRITER: > dbf->desc = open (dbf->name, O_RDWR, 0); > break; > > case GDBM_NEWDB: > dbf->desc = open (dbf->name, O_RDWR|O_CREAT, mode); >- flags = GDBM_WRITER; > need_trunc = TRUE; > break; > > default: > dbf->desc = open (dbf->name, O_RDWR|O_CREAT, mode); >- flags = GDBM_WRITER; > break; > > }
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 629640
: 591139