delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/07/08:03:06

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=uZvujYp8AAAA:8 a=xe8BsctaAAAA:8 a=QC1b2khnkrbgu3oOf9sA:9 a=Q4YpVTRG9bIwOp8znnuHSvFQtp0A:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10
Message-ID: <47D13CDD.6000509@byu.net>
Date: Fri, 07 Mar 2008 06:02:21 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bug with touch t/
References: <8B3C53FEA05C744284526CAE5170F15904DD6124 AT de010369 DOT de DOT ina DOT com>
In-Reply-To: <8B3C53FEA05C744284526CAE5170F15904DD6124@de010369.de.ina.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Lemke, Michael SZ/HZA-ZIOM1 on 3/7/2008 2:22 AM:
|>> Do you agree?
|> I should add that I'm still rather leaning towards the Linux
| behaviour.
|> I tested this on Solaris 10, and it behaves again different.  In both
|> examples open(2) returns with ENOTDIR.

For the record, Linux' behavior is vindicated - EISDIR on a nonexistent
name with trailing slash and O_WRONLY is acceptable:
https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl&source=L&listname=austin-group-l&id=11382

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH0Tzc84KuGfSFAYARAtppAJ91EyRvACm9QEYBLXaBA2/pv65tCwCeONs+
Vizcbz1bt70PlF9XoILqSYo=
=ciKj
-----END PGP SIGNATURE-----

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