Dash:
[t2.git] / package / develop / zthread / bugfix.patch
blobb0903d3693c0e7d70a619e06d38908d49b14e529
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../zthread/bugfix.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- ./include/zthread/Barrier.h.orig Sun Mar 13 06:23:00 2005
18 +++ ./include/zthread/Barrier.h Sat Jun 21 17:31:14 2008
19 @@ -150,7 +150,7 @@
21 } else {
23 - int myGeneration = _generation;
24 + unsigned int myGeneration = _generation;
26 try {
28 @@ -251,7 +251,7 @@
30 } else {
32 - int myGeneration = _generation;
33 + unsigned int myGeneration = _generation;
35 try {
37 --- ./include/zthread/BlockingQueue.h.orig Sun Mar 13 03:04:18 2005
38 +++ ./include/zthread/BlockingQueue.h Sat Jun 21 17:31:14 2008
39 @@ -83,7 +83,7 @@
40 /**
41 * @see Queue::add(const T& item, unsigned long timeout)
43 - virtual bool add(T item, unsigned long timeout) {
44 + virtual bool add(const T& item, unsigned long timeout) {
46 try {