| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Date: | Wed, 10 Feb 2010 16:50:54 -0800 (PST) |
| From: | Greg Couch <gregc AT cgl DOT ucsf DOT edu> |
| To: | cygwin AT cygwin DOT com |
| Subject: | regtool gives different results than reg |
| Message-ID: | <Pine.OSF.4.63.1002101650200.1860155@guanine.cgl.ucsf.edu> |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
My system is a 64-bit Windows 7 system with the latest cygwin installed
and Corinna's unsupported cyglsa64.dll from 29 Jan 2010. And for this bug
I have the 64-bit version of Python 2.6.4 installed (not cygwin's) and I'm
doing these tests on the console, not ssh (but the same bug appears when
ssh'd in).
So in the cygwin shell:
$ regtool get /machine/SOFTWARE/Python/PythonCore/2.6/InstallPath
Error (2): The system cannot find the file specified.
$ regtool list /machine/SOFTWARE/Python/PythonCore/2.6
Modules
$ reg query
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6"
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Modules
But if I run a cmd.exe shell directly (not from a cygwin shell), I get
everything I expect:
>reg query HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Help
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Modules
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\PythonPath
Any ideas as to how I could workaround this bug?
Greg
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |