This is the mail archive of the
mailing list for the Cygwin project.
bug with touch t/
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 4 Mar 2008 21:47:08 +0000 (UTC)
- Subject: bug with touch t/
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
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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html