Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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\)" To: 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: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: 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- 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 --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/