ifolder/net-misc/ifolder/files/ifolder-disambiguate_process.dpatch
2009-02-28 20:34:46 +00:00

20 lines
803 B
Plaintext
Executable File

#! /bin/sh /usr/share/dpatch/dpatch-run
## 002_disambiguate_process.dpatch by Tan Rui Boon <ruiboon@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad ifolder-3.6~/src/LinuxClient/application/iFolderApplication.cs ifolder-3.6/src/LinuxClient/application/iFolderApplication.cs
--- ifolder-3.6~/src/LinuxClient/application/iFolderApplication.cs 2008-06-04 11:58:33.000000000 +0800
+++ ifolder-3.6/src/LinuxClient/application/iFolderApplication.cs 2008-06-04 12:14:08.000000000 +0800
@@ -1722,7 +1722,7 @@
*/
public static void Main (string[] args)
{
- Process[] processes =
+ System.Diagnostics.Process[] processes =
System.Diagnostics.Process.GetProcessesByName("iFolderClient");
if(processes.Length > 1)