delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/04/11:41:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: [cygcheck] produces repeated output - 6 times!
Date: Mon, 4 May 2009 10:41:07 -0500
Message-ID: <297343D29C14AA4D822142893ABEAEF306570AA0@srv1163ex1.flightsafety.com>
In-Reply-To: <297343D29C14AA4D822142893ABEAEF306570A98@srv1163ex1.flightsafety.com>
References: <af075b00904280347s32e89d76ve23b61db6a1c6a8e AT mail DOT gmail DOT com> <20090504082512 DOT GA21324 AT calimero DOT vinschen DOT de> <297343D29C14AA4D822142893ABEAEF306570A42 AT srv1163ex1 DOT flightsafety DOT com> <49FF0586 DOT 3010006 AT sbcglobal DOT net> <20090504151802 DOT GA4286 AT ednor DOT casa DOT cgf DOT cx> <297343D29C14AA4D822142893ABEAEF306570A98 AT srv1163ex1 DOT flightsafety DOT com>
From: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Thrall, Bryan wrote on Monday, May 04, 2009 10:36 AM:
> Christopher Faylor wrote on Monday, May 04, 2009 10:18 AM:
>> cygcheck itself would not be redoing anything because 1) it isn't a
true
>> cygwin program and 2) it isn't starting a process when it displays
dll
>> information.
>=20
> Unfortunately, unless I'm doing something wrong, it isn't due to
> proc_retry:

I was doing something wrong; you need to set proc_retry before the
Cygwin DLL is loaded; after doing that, I do only get one copy of the
output from 'cygcheck /bin/ash.exe -v'. It still returns 127, though:

thrall AT pc1163-8413-xp ~
$ cygcheck /bin/ash.exe -v
C:\cygwin_1.7\bin\ash.exe
  C:\cygwin_1.7\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\KERNEL32.dll
      C:\WINDOWS\system32\RPCRT4.dll

thrall AT pc1163-8413-xp ~
$ echo $?
127

--=20
Bryan Thrall
FlightSafety International
bryan DOT thrall AT flightsafety DOT com

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

- Raw text -


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