This is the mail archive of the cygwin mailing list for the Cygwin 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: 1.5.5.1 posix conformance for fopen




24A - When the named file is a directory, and when type is w, a,
r+, w+, a+, wb,ab, r+b, rb+,w+b, wb+, a+b, or ab+, then a call to fopen
(filename,type) returns a NULL pointer, sets errno to [EISDIR], and does not mark for update st_ctime,st_mtime, and st_atime fields of the file. In current implementation
****when Named file is a directory and mode is "w", it returns EEXIST
instead of EISDIR



Add to that the fact that when named file is a dir and mode is "r+", no error is accused..?


--
Herculano de Lima Einloft Neto


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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