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: another manifestation of the .. bug


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

According to Corinna Vinschen on 10/25/2005 7:27 AM:
>>I would much rather see a fix in cygwin so that coreutils would work out
>>of the box in this case.
>>
> 
> And I really can't see how "one testcase fails because Cygwin allows
> something which should fail according to POSIX" qualifies for "coreutils
> doesn't work out of the box on Cygwin".  Does the coreutils testsuite
> not allow per-target XFAILs?

Coreutils already won't pass the testsuite out of the box on cygwin due to
other problems, where I am also maintaining cygwin-specific patches; my
point was that if cygwin is ever fixed, it is one less workaround needing
my maintainence.  As for the coreutils testsuite, it does not have
per-target XFAILs, but does have the ability to SKIP tests that are known
to be invalid if various pre-screening tests show that a platform won't
support the feature being tested.  However, among all the platforms that
coreutils is currently ported to, my understanding is that cygwin is the
only platform that would need such an exemption to skip such tests due to
the lack of POSIX semantics.

Also, it is possible to write a wrapper around stat() that will give POSIX
semantics to .., using intermediate stat() and readlink() calls if the
string contains "/..".  Someday, I might attempt that task, to see what
sort of impact POSIX semantics has when done at the application layer
instead of the cygwin layer.

- --
Life is short - so eat dessert first!

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

iD8DBQFDXuOp84KuGfSFAYARAruMAJ9af2HA4inDT4sd3nFnNaTjOp7G4ACgzWnb
may3d4cT0QydA5/aJuRR9X8=
=lcMw
-----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/


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