X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 	tests=AWL,BAYES_80,HK_OBFDOM
X-Spam-Check-By: sourceware.org
From: "DEWI - N. Zacharias" <N.Zacharias@dewi.de>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Date: Wed, 24 Mar 2010 12:52:55 +0100
Subject: Very strange things happen
Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E602DBF1393D@server03>
References: <288482661.5731269425114860.JavaMail.root@fqdn>  <4BA9EFF9.70403@sbcglobal.net>
In-Reply-To: <4BA9EFF9.70403@sbcglobal.net>
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CheckCompat: OK
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



Hi All,

To read the content of a registry key  I use :

my $ww =3D IO::File->new("< /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/shbo=
x/freepdfxp/fpDir");
my $Reg_FreePdf_Path =3D <$ww>;
$ww->close();

It works but a subsequent call  system("cd /cydrive/c/whatever")  crashes w=
ith a core dump.

The strange thing is that if I  use another key it works it don=92t crash

The key which works is:
 /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Office/12.0//Word/Ins=
tallRoot/Path (Reg_SZ)

But if I use
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/shbox/freepdfxp/fpDir  (Reg_SZ)

Do some one has an idea whats going wrong here ??

Have a nice time
Norbert




--------------------------------------------------------------------------
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:    +49 4421 4808 843


Email:  N.Zacharias@dewi.de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels K=E4mpny

P Please consider the environment before printing this email.



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

