ifolder/net-misc/ifolder3/files/ifolder-disambiguate_process.dpatch

20 lines
803 B
Plaintext
Raw Normal View History

#! /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)