#122 closed defect (fixed)
libc: open("file", O_RDONLY | O_CREAT, 0666) fails
Reported by: | bird | Owned by: | bird |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.6.2 |
Component: | libc | Version: | 0.6 |
Severity: | normal | Keywords: | open |
Cc: |
Description
On unix (and on OS/2 too actually) this kind of operation will create a 0 byte file and give you a read only handle to it. LIBC refuses any attempts of this kind with a EINVAL.
Note:
See TracTickets
for help on using tickets.
(In [2810]) Fixed file creation when opening with read-only acess. Fixes #122.