delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/23/00:06:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <40889522.8050900@ig.com.br>
Date: Fri, 23 Apr 2004 02:01:38 -0200
From: Herculano de Lima Einloft Neto <hlen AT ig DOT com DOT br>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019