Author: joe
Date: 2005-05-02 14:23:04 -0400 (Mon, 02 May 2005)
New Revision: 43895

Modified:
   trunk/mcs/class/Mono.Posix/Mono.Unix/ChangeLog
   trunk/mcs/class/Mono.Posix/Mono.Unix/UnixListener.cs
Log:
2005-05-02  Joe Shaw  <[EMAIL PROTECTED]>

        * UnixListener.cs (Init): Remove the call to Cleanup() and the
        method itself, which was not supposed to be here.  We try to
        connect to the socket if it exists instead of deleting it
        undconditionally.

Modified: trunk/mcs/class/Mono.Posix/Mono.Unix/ChangeLog
===================================================================
--- trunk/mcs/class/Mono.Posix/Mono.Unix/ChangeLog      2005-05-02 17:53:18 UTC 
(rev 43894)
+++ trunk/mcs/class/Mono.Posix/Mono.Unix/ChangeLog      2005-05-02 18:23:04 UTC 
(rev 43895)
@@ -1,3 +1,10 @@
+2005-05-02  Joe Shaw  <[EMAIL PROTECTED]>
+
+       * UnixListener.cs (Init): Remove the call to Cleanup() and the
+       method itself, which was not supposed to be here.  We try to
+       connect to the socket if it exists instead of deleting it
+       undconditionally.
+
 2005-04-30  Ben Maurer  <[EMAIL PROTECTED]>
 
        * Stdlib.cs: Comment out usage of `UnmanagedFunctionPointer'. It

Modified: trunk/mcs/class/Mono.Posix/Mono.Unix/UnixListener.cs
===================================================================
--- trunk/mcs/class/Mono.Posix/Mono.Unix/UnixListener.cs        2005-05-02 
17:53:18 UTC (rev 43894)
+++ trunk/mcs/class/Mono.Posix/Mono.Unix/UnixListener.cs        2005-05-02 
18:23:04 UTC (rev 43895)
@@ -43,7 +43,6 @@
  
                void Init (UnixEndPoint ep)
                {
-                       Cleanup (ep);
                        listening = false;
                        string filename = ep.Filename;
                        if (File.Exists (filename)) {
@@ -165,13 +164,6 @@
                        if (disposed)
                                throw new ObjectDisposedException 
(GetType().FullName);
                }        
-
-               static void Cleanup (UnixEndPoint ep)
-               {
-                       string path = ((UnixEndPoint) ep).Filename;
-                       if (File.Exists (path))
-                               File.Delete (path);
-               }
        }
 
 }

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

Reply via email to