delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/18/09:24:47

X-Recipient: archive-cygwin AT delorie DOT 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 AT vaultnow DOT com>
To: <cygwin AT cygwin DOT 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
X-EN-UserInfo: ca4eb83b29c199dc675fd93de881b90e:2283ef65109048eed6984feda31515c6
X-EN-AuthUser: leonv AT vaultnow DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019