This is the mail archive of the
mailing list for the Cygwin project.
RE: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise
- From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector at telia dot com>
- To: <cygwin at cygwin dot com>
- Date: Sun, 5 Oct 2003 22:48:55 +0200
- Subject: RE: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise
> 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
> $ cygcheck /mnt/c/WINNT/system32/shlwapi.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...
$ 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
$ cygcheck ./shlwapi.dll-<TAB>
$ cygcheck ./shlwapi.dll-OLD
$ cygcheck ./shlwapi.dll-MAIL
$ 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
/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