[Mono-bugs] [Bug 78529][Wis] New - different registry operation results between windows and linux

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 29 08:48:38 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by djus at poczta.onet.pl.

http://bugzilla.ximian.com/show_bug.cgi?id=78529

--- shadow/78529	2006-05-29 08:48:38.000000000 -0400
+++ shadow/78529.tmp.15275	2006-05-29 08:48:38.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 78529
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: Debian SID
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: djus at poczta.onet.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: different registry operation results between windows and linux
+
+Description of Problem:
+I'm looping through all subkeys in my key in registry. Doing it on windows
+I get only subkeys names, doing same thing on linux I get full path to subkey .
+
+My key is: LocalMachine//Software//MyMainKey
+In MyMainKey I have several subkeys eg. host, pass, port
+
+RegistryKey registry = Registry.LocalMachine.OpenSubKey("Software//MyMainKey");
+string[] subKeysName = registry.GetSubKeyNames();
+
+When I'm looping through all subkeys like this:
+foreach(string subKey in subKeysName)
+{
+  System.Console.WriteLine(registryKeyName+"\\"+subKey);
+}
+
+
+in windows using MS .NET Framework 1.1 i get:
+Software\MyMainKey\host
+
+in Linux using monoI get:
+ Software\/home/dominik/.mono/registry/LocalMachine/software/MyMainKey/host
+
+Actual Results:
+I get subkey string:
+ Software\/home/dominik/.mono/registry/LocalMachine/software/MyMainKey/host
+
+Expected Results:
+key.openSubKey( one of key.getSumKeyNames() ) gives no exception
+
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+Mono installed through apt-get. Version: 1.1.13.6


More information about the mono-bugs mailing list