This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug with touch t/

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.


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

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]