delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <BAY19-F1765485E00CBD4B8564ADCB5410@phx.gbl> |
X-Originating-Email: | [karlm30 AT hotmail DOT com] |
X-Sender: | karlm30 AT hotmail DOT com |
In-Reply-To: | <BAY19-F32E5FEED22A0EE72A4B6A3B5410@phx.gbl> |
From: | "Karl M" <karlm30 AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | RE: test -f occasionally fails on sym links (keychain related) |
Date: | Fri, 25 Mar 2005 09:43:26 -0800 |
Mime-Version: | 1.0 |
X-OriginalArrivalTime: | 25 Mar 2005 17:43:26.0824 (UTC) FILETIME=[26406E80:01C53162] |
X-IsSubscribed: | yes |
Hi All... Cut and paste error...I wanted to say execute while :; do rm foo; ln -s $$ foo; done in the first one. The line I used was part of furhter debugging work. >From: "Karl M" >Subject: test -f occasionally fails on sym links (keychain related) >Date: Fri, 25 Mar 2005 09:37:30 -0800 > >Hi All... > >While doing some testing with keychain and the snapshots while getting >ready to release a keychain service package (still working on it)...I >noticed the following > >Sometimes doing a [ -f foo ]; will show a false true while the symlink is >being created. You can see this by opening two bash shells and executing > >while :; do echo $$> foo.lnk; rm foo.lnk; done > >in the first one and > >while :; do if [ -f foo ]; then echo here; else echo " there"; fi; >done > >in the second one. > >Thanks, > >...Karl -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |