link,ln: use gnulib's link module to work around Solaris 10 deficiency
commitebc7aacf7b7115bf51305579aaa7ddce77301fd7
authorJim Meyering <meyering@redhat.com>
Thu, 10 Sep 2009 15:51:44 +0000 (10 17:51 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 10 Sep 2009 16:52:12 +0000 (10 18:52 +0200)
tree871ca983d0662b637da549f766014307ae63b6bb
parent15223b0c3ba91e70b449784cab71183be597be8c
link,ln: use gnulib's link module to work around Solaris 10 deficiency

Before this change, :>f; ln -T f no-such/ would succeed on Solaris 10.
After it, ln fails, as it should: ln: accessing `z/': Not a directory
The command, link f no-such/, had the same problem on that system.
* bootstrap.conf (gnulib_modules): Add "link".
* tests/ln/slash-decorated-nonexistent-dest: New test.
* tests/Makefile.am (TESTS): Add it.
* NEWS (Portability): Mention the improvement.
NEWS
bootstrap.conf
tests/Makefile.am
tests/ln/slash-decorated-nonexistent-dest [new file with mode: 0755]