diff options
Diffstat (limited to 'deskutils/tomboy/files/patch-Tomboy_Utils.cs')
-rw-r--r-- | deskutils/tomboy/files/patch-Tomboy_Utils.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/deskutils/tomboy/files/patch-Tomboy_Utils.cs b/deskutils/tomboy/files/patch-Tomboy_Utils.cs deleted file mode 100644 index 83f99b06e145..000000000000 --- a/deskutils/tomboy/files/patch-Tomboy_Utils.cs +++ /dev/null @@ -1,28 +0,0 @@ ---- Tomboy/Utils.cs.orig Sun Feb 25 02:24:01 2007 -+++ Tomboy/Utils.cs Mon Mar 26 20:06:25 2007 -@@ -801,23 +801,12 @@ - } - - [DllImport("libc")] -- private static extern int prctl (int option, -- byte [] arg2, -- IntPtr arg3, -- IntPtr arg4, -- IntPtr arg5); -+ private static extern void setproctitle(byte [] fmt, byte [] str_arg); - - // From Banshee: Banshee.Base/Utilities.cs - public static void SetProcessName (string name) - { -- if (prctl (15 /* PR_SET_NAME */, -- Encoding.ASCII.GetBytes (name + "\0"), -- IntPtr.Zero, -- IntPtr.Zero, -- IntPtr.Zero) != 0) -- throw new ApplicationException ( -- "Error setting process name: " + -- Mono.Unix.Native.Stdlib.GetLastError ()); -+ setproctitle(Encoding.ASCII.GetBytes("%s\0"), Encoding.ASCII.GetBytes(name + "\0")); - } - - static void RegisterSignalHandlers () |