X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.4 required=5.0	tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=2.0 cv=ZfeqwLpA c=1 sm=1 a=49UCDCcHdT8aI5EEGBwkAg==:17 a=NBNwQ4c0KJ4A:10 a=Zmx9LymJ1LIA:10 a=kj9zAlcOel0A:10 a=ltNTFRGYihpHVVgd-bIA:9 a=CjuIK1q_8ugA:10 a=6uKCkKhFq2wXOH2GoQX8aA==:117
X-EN-OrigOutIP: 10.20.18.3
X-EN-IMPSID: bSQH1i00C03yW7601SQHoG
From: "Leon Vanderploeg" <leonv@vaultnow.com>
To: <cygwin@cygwin.com>
Subject: lstat() fails intermittently in C program -- what could cause this???
Date: Sat, 18 Feb 2012 07:24:14 -0700
Message-ID: <022f01ccee48$febc6fc0$fc354f40$@vaultnow.com>
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-EN-UserInfo: ca4eb83b29c199dc675fd93de881b90e:2283ef65109048eed6984feda31515c6
X-EN-AuthUser: leonv@vaultnow.com
X-EN-OrigIP: 24.8.203.182
X-EN-OrigHost: c-24-8-203-182.hsd1.co.comcast.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings,

I am having problems with intermittent failures of the lstat() inside a C
program on several servers running Windows Server 2008R2.  The program
recursively searches directories and uses lstat() to gather information on
each file.  The files that fail most often end in .bak, but not always.
Since the lstat() command does not return detailed failure information, I
can't identify what is causing the failure.  Any suggestions on what might
be causing the failures or how to gather information on what is causing the
failure?

Help is GREATLY appreciated.

Leon



--
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

