X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 5 Mar 2008 19:36:40 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: bug with touch t/
Message-ID: <20080305183640.GI18407@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <loom.20080304T214047-23@post.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <loom.20080304T214047-23@post.gmane.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mar  4 21:47, Eric Blake wrote:
> According to POSIX (and as implemented on Linux):
> 
> $ rm -Rf t
> $ touch t/
> touch: setting times of `t/': No such file or directory
> $ : > t/
> t/: Is a directory.
> 
> 
> The ENOENT failure is correct, since you are using the syntax to open (or 
> create) a directory but are not going through mkdir.  However, on cygwin, both 
> commands mistakenly create the regular file 't'.  This is also an issue with
> 
> touch 't\'
> 
> which likewise mistakenly creates the regular file 't' by treating \ as an 
> alternate directory separator - as a result, the current git checkout of 
> autoconf is triggering spurious failures when testing whether the file system 
> supports \ embedded in file names rather than as directory separators.

Should be fixed in the new 1.5.25-11 test release.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

