This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fopen() w+ Fix


On Mon, Mar 29, 2004 at 11:01:42AM +0100, Kelvin Lawson wrote:
> Hi All,
> 
> I've attached a proposed fix for fopen() with mode 'w+'. Basically 
> specifying 'w+' was previously exactly the same as specifying 'r+', but 
> 'w+' should allow file creation, while 'r+' should not.
> 
> I've split CYG_STREAM_READWRITE into CYG_STREAM_READWRITE_CREATE and 
> CYG_STREAM_READWRITE_NOCREATE to allow for these different modes.

Commited.

        Thanks
                Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]