This is the mail archive of the
cygwin
mailing list for the Cygwin project.
test for hard links always fail with pdksh
- From: Paul McFerrin <pmcferrin at columbus dot rr dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 25 Feb 2010 01:30:06 -0500
- Subject: test for hard links always fail with pdksh
- Reply-to: pmcferrin at columbus dot rr dot com
A new wrinkle with hard links. If you are testing for them in pdksh,
they will always fail. I.E.:
if test -L links/$filename.$inumb
then :
else
ln $filename $filename.$inumb
fi
The above test will always fail and thus will always attempt to
re-create the hard link.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple