This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.5.1 posix conformance for fopen
- From: Herculano de Lima Einloft Neto <hlen at ig dot com dot br>
- To: cygwin at cygwin dot com
- Date: Fri, 23 Apr 2004 02:01:38 -0200
- Subject: 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/