Author: gonzalo
Date: 2005-03-05 14:51:13 -0500 (Sat, 05 Mar 2005)
New Revision: 41470

Modified:
   trunk/xsp/ChangeLog
   trunk/xsp/server/server.cs
Log:
2005-03-05 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * server/server.cs: fix lockfile name generation. Patch by Mike Lasky.
        Closes bug #73234.



Modified: trunk/xsp/ChangeLog
===================================================================
--- trunk/xsp/ChangeLog 2005-03-05 19:05:49 UTC (rev 41469)
+++ trunk/xsp/ChangeLog 2005-03-05 19:51:13 UTC (rev 41470)
@@ -1,3 +1,8 @@
+2005-03-05 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+       * server/server.cs: fix lockfile name generation. Patch by Mike Lasky.
+       Closes bug #73234.
+
 2005-03-02 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
        * server/ModMonoApplicationHost.cs: ensure we close the stream to the

Modified: trunk/xsp/server/server.cs
===================================================================
--- trunk/xsp/server/server.cs  2005-03-05 19:05:49 UTC (rev 41469)
+++ trunk/xsp/server/server.cs  2005-03-05 19:51:13 UTC (rev 41470)
@@ -269,7 +269,7 @@
                                        Console.WriteLine ("ERROR: --address 
without --port");
                                        Environment.Exit (1);
                                }
-                               lockfile = Path.Combine (Path.GetTempPath (), 
filename);
+                               lockfile = Path.Combine (Path.GetTempPath (), 
Path.GetFileName (filename));
                                lockfile = String.Format ("{0}_{1}", lockfile, 
hash);
                        } else {
                                lockfile = Path.Combine (Path.GetTempPath (), 
"mod_mono_TCP_");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to