X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=GJfE9n3WhT8A:10 a=xJZ8jTofWvLP3tZY8uwA:9 a=Z2dspsVI0ltGQaAU4fk0KSBU45kA:4 Message-ID: <4B8618EE.2070807@columbus.rr.com> Date: Thu, 25 Feb 2010 01:30:06 -0500 From: Paul McFerrin Reply-To: pmcferrin AT columbus DOT rr DOT com User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: test for hard links always fail with pdksh Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin 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