[pkg-otr-team] [irssi-plugin-otr] 145/167: Add required win32 patch to git tree; see INSTALL.mingw

Holger Levsen holger at moszumanska.debian.org
Mon Mar 3 21:55:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to tag 4.0.0
in repository irssi-plugin-otr.

commit cd08d59e6232c2d2a5095165d9104c828e611d0c
Author: Jacob Appelbaum <jacob at appelbaum.net>
Date:   Tue Aug 21 21:36:17 2012 -0700

    Add required win32 patch to git tree; see INSTALL.mingw
---
 patches/win32/rndw32.diff | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/patches/win32/rndw32.diff b/patches/win32/rndw32.diff
new file mode 100644
index 0000000..e22cdbf
--- /dev/null
+++ b/patches/win32/rndw32.diff
@@ -0,0 +1,28 @@
+--- rndw32.c.orig	2003-12-11 10:46:12.000000000 -0500
++++ rndw32.c	2005-01-18 09:45:26.000000000 -0500
+@@ -238,6 +238,8 @@
+ 
+     /* Walk through the local heap */
+     {	HEAPLIST32 hl32;
++	DWORD dwHeapsAdded = 0;
++	const DWORD maxHeapsToAdd = 500;
+ 	hl32.dwSize = sizeof (HEAPLIST32);
+ 	if (pHeap32ListFirst (hSnapshot, &hl32)) {
+ 	    if ( debug_me )
+@@ -254,12 +256,16 @@
+ 		if (pHeap32First (&he32, hl32.th32ProcessID, hl32.th32HeapID)){
+ 		    do {
+ 			(*add) ( &he32, sizeof (he32), requester );
++			if (++dwHeapsAdded == maxHeapsToAdd) {
++			    goto doneheap;
++			}
+ 		    } while (pHeap32Next (&he32));
+ 		}
+ 	    } while (pHeap32ListNext (hSnapshot, &hl32));
+ 	}
+     }
+ 
++doneheap:
+ 
+     /* Walk through all processes */
+     {	PROCESSENTRY32 pe32;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-otr/packages/irssi-plugin-otr.git



More information about the Pkg-otr-team mailing list