This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Very strange things happen
Hi All,
To read the content of a registry key I use :
my $ww = IO::File->new("< /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/shbox/freepdfxp/fpDir");
my $Reg_FreePdf_Path = <$ww>;
$ww->close();
It works but a subsequent call system("cd /cydrive/c/whatever") crashes with a core dump.
The strange thing is that if I use another key it works it don’t crash
The key which works is:
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Office/12.0//Word/InstallRoot/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ämpny
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