Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <019501c38a95$71f11110$12760251@ximenes>
From: "Cliff Hones" <cliff@aonix.co.uk>
To: <cygwin@cygwin.com>
References: <JLEBIHHBMBHBAFPAJLEFKEMKEHAA.miles0201@cox.net> <1065241514.18546.19.camel@localhost> <00dd01c38a7b$fbfc91f0$12760251@ximenes> <Pine.GSO.4.56.0310041050330.15176@slinky.cs.nyu.edu> <Pine.GSO.4.56.0310041124030.15176@slinky.cs.nyu.edu>
Subject: Re: cygpath hangs from postinstall scripts when called like  $(cygpath -S) but not otherwise
Date: Sat, 4 Oct 2003 17:34:55 +0100
Organization: Aonix Europe
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Cliff Hones wrote:
> ...
> I suspect you will see something different.  I guess if on some Windows
> systems shlwapi.dll has a dependence on msvcrt.dll, it is not safe
> to call this from any cygwin app.

I think this may have been introduced with W2k SP4.  I found the following
version of shlwapi.dll on my system:

$ ls -l /d/winnt/servicepackfiles/i386/shlwapi.dll
-rwx------+   1 Administ None       289552 Jun 19 12:05
/d/winnt/servicepackfiles/i386/shlwapi.dll

$ cygcheck /d/winnt/servicepackfiles/i386/shlwapi.dll
D:/winnt/servicepackfiles/i386/shlwapi.dll
  D:/winnt/servicepackfiles/i386\GDI32.DLL
    D:/winnt/servicepackfiles/i386\NTDLL.DLL
    D:/winnt/servicepackfiles/i386\KERNEL32.DLL
    D:/winnt/servicepackfiles/i386\USER32.DLL
  D:/winnt/servicepackfiles/i386\ADVAPI32.DLL
    D:/winnt/servicepackfiles/i386\RPCRT4.DLL

and there is no msvcrt dependence with this earlier version.

Does this fit with the hanging symptoms?  i.e. if your postinstall
hangs, have you installed W2K SP4, or is your shlwapi dependent on
msvcrt, or is this just a red herring?

-- Cliff


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

