[Mono-bugs] [Bug 78034][Nor] Changed - Cannot start more than 1 mod-mono-server in TCP Mode

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Apr 6 11:07:24 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 informatique.internet at fiducial.fr.

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

--- shadow/78034	2006-04-06 10:50:08.000000000 -0400
+++ shadow/78034.tmp.32372	2006-04-06 11:07:24.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78034
 Product: Mono: Tools
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: mod_mono
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: informatique.internet at fiducial.fr               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -52,6 +52,25 @@
 +                               hash ^= args [i+1].GetHashCode () + i;
 
                                 switch (a){
  #if MODMONO_SERVER
 
 Could you commit it?
+
+------- Additional Comments From informatique.internet at fiducial.fr  2006-04-06 11:07 -------
+This is quite better!
+
+Index: src/server.cs
+===================================================================
+--- src/server.cs       (révision 59112)
++++ src/server.cs       (copie de travail)
+@@ -264,7 +264,8 @@
+                        int hash = 0;
+                        for (int i = 0; i < args.Length; i++){
+                                string a = args [i];
+-                               hash ^= args [i].GetHashCode () + i;
++                               if (args.Length>(i+1))
++                                   hash ^= args[i+1].GetHashCode()+i;
+
+                                switch (a){
+ #if MODMONO_SERVER
+


More information about the mono-bugs mailing list