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]

fopen/fclose small fixes


Attached is a patch file with some small fixes I made to my local tree. 
The following problems are fixed:

* src/common/fclose.cxx (fclose): fclose would seg-fault if passed
NULL FILE pointer.  Now returns error.  Also cleaned up some exit
paths to call Cyg_libc_stdio_files::unlock()

* src/common/fopen.cxx (fopen): Cleaned up some exit paths to call 
Cyg_libc_stdio_files::unlock()

Scott

Attachment: fopen_close.patch
Description: Text document


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