delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/05/16:49:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise
Date: Sun, 5 Oct 2003 22:48:55 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEEEOLDEAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <Pine.GSO.4.56.0310051543010.15176@slinky.cs.nyu.edu>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

> From: Igor Pechtchanski
> Sent: Sunday, October 05, 2003 9:48 PM

> > 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.
> >
> > -- Cliff
>
> Bingo.  I think we have different service packs applied or something.  I'm
> getting the following on my machine:
>
> $ cygcheck -s | head -5
>
> Cygwin Win95/NT Configuration Diagnostics
> Current System Time: Sun Oct 05 15:46:24 2003
>
> Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
> $ ls -l /mnt/c/WINNT/system32/shlwapi.dll
> -rwxrwxr-x+   1 Administ SYSTEM     300816 Oct 20  2000
> /mnt/c/WINNT/system32/shlwapi.dll*
> $ cygcheck /mnt/c/WINNT/system32/shlwapi.dll
> c:/WINNT/system32/shlwapi.dll
>   c:/WINNT/system32\GDI32.dll
>     c:/WINNT/system32\NTDLL.DLL
>     c:/WINNT/system32\KERNEL32.DLL
>     c:/WINNT/system32\USER32.DLL
>   c:/WINNT/system32\ADVAPI32.dll
>     c:/WINNT/system32\RPCRT4.DLL
> $
>
> Curiously enough,
>
> $ cygcheck /cygdrive/c/WINNT/system32/shlwapi.dll
> C:/cygwin/cygdrive/c/WINNT/system32/shlwapi.dll - Cannot open
> $
>
> It looks like cygcheck's mount processing code doesn't understand the
> cygdrive prefix...
> 	Igor

$ cygcheck -s | head -5

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sun Oct 05 22:27:29 2003

Windows 2000 Advanced Server Ver 5.0 Build 2195 Service Pack 4

$ cygcheck shlwapi.dll
Error: could not find shlwapi.dll

$ cd /cygdrive/f/WINNT/system32/

$ cygcheck ./shlwapi.dll
.\shlwapi.dll
  .\msvcrt.dll
    .\KERNEL32.dll
      .\NTDLL.DLL
  .\GDI32.dll
    .\USER32.DLL
  .\ADVAPI32.dll
    .\RPCRT4.DLL

$ cygcheck ./shlwapi.dll-<TAB>
shlwapi.dll-MAIL  shlwapi.dll-OLD

$ cygcheck ./shlwapi.dll-OLD
.\shlwapi.dll-OLD
  .\GDI32.DLL
    .\NTDLL.DLL
    .\KERNEL32.DLL
    .\USER32.DLL
  .\ADVAPI32.DLL
    .\RPCRT4.DLL

$ cygcheck ./shlwapi.dll-MAIL
.\shlwapi.dll-MAIL
  .\msvcrt.dll
    .\KERNEL32.dll
      .\NTDLL.DLL
  .\GDI32.dll
    .\USER32.DLL
  .\ADVAPI32.dll
    .\RPCRT4.DLL

$ md5sum -b ./shlwapi.dll*
a39d8868e0480e6cfc5298ddc645650a *./shlwapi.dll		6.00.2800.1226
77e607bcfb09e6958fe58b0345ec48c6 *./shlwapi.dll-MAIL	6.00.2800.1106
4d80abc997e5e4876455e76a835b0f3d *./shlwapi.dll-OLD	5.00.3502.6601

I cannot use the -OLD one, this makes explorer.exe freak out.
Not very surprising IMO. I guess that it is a pre-SP1 version, or a IE5.0
version maybe - I have IE6 installed.

Trying the two 6.00 versions doesn't make any difference.

A guess could be that cygpath's behaviour depends in IE6 beeing installed or
not.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02  --

To see the version of an Windows object: e.g.
Start -> Run -> "F:\WINNT\system32", Right click "shlwapi.dll"
choose -> Properties -> Version tab -> Product version

<change drive letter to suit your needs>

--END OF MESSAGE--


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