Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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.

Change History (2)

comment:1 Changed 18 years ago by bird

Resolution: fixed
Status: newclosed

(In [2810]) Fixed file creation when opening with read-only acess. Fixes #122.

comment:2 Changed 18 years ago by bird

(In [2811]) A tad to quick there... Fixes #122.

Note: See TracTickets for help on using tickets.