1.5.5.1 posix conformance for fopen

Herculano de Lima Einloft Neto hlen@ig.com.br
Fri Apr 23 04:17:00 GMT 2004


>
>
>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/



More information about the Cygwin mailing list