On 03/25/2010 03:07 AM, DEWI - N. Zacharias wrote:
> 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.

Which version of cygwin?  cygwin 1.7.2-2 was released to fix a memory
corruption bug in managing the registry in cygwin 1.7.2-1; perhaps you
just need to upgrade?

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to