Opened 13 years ago

Closed 13 years ago

Last modified 13 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


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 13 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 13 years ago by bird

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

Note: See TracTickets for help on using tickets.