blam r598 - trunk/src



Author: atoker
Date: Sun Jun 15 19:56:18 2008
New Revision: 598
URL: http://svn.gnome.org/viewvc/blam?rev=598&view=rev

Log:
Don't bail out on failed prctl

This function may not be available on platforms like Win32


Modified:
   trunk/src/Application.cs

Modified: trunk/src/Application.cs
==============================================================================
--- trunk/src/Application.cs	(original)
+++ trunk/src/Application.cs	Sun Jun 15 19:56:18 2008
@@ -838,7 +838,11 @@
 
         public static void Main(string[] args)
         {
-            SetProcessName("blam");
+            try {
+                SetProcessName("blam");
+						} catch {
+						}
+
             TheApp = new Application (args);
             TheApp.Run ();
             // new Application(args).Run();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]