Gentoo Archives: gentoo-commits

From: "Jurek Bartuszek (jurek)" <jurek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-dotnet/nant/files: nant-0.85-threadingfix.patch
Date: Mon, 31 Dec 2007 16:32:39
Message-Id: E1J9NYz-0006oD-S9@stork.gentoo.org
1 jurek 07/12/31 16:32:29
2
3 Added: nant-0.85-threadingfix.patch
4 Log:
5 dev-dotnet/nant-0.85: fixed threading issue (bug #199748)
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.1 dev-dotnet/nant/files/nant-0.85-threadingfix.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/nant/files/nant-0.85-threadingfix.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/nant/files/nant-0.85-threadingfix.patch?rev=1.1&content-type=text/plain
13
14 Index: nant-0.85-threadingfix.patch
15 ===================================================================
16 --- src/NAnt.Core/Tasks/ExternalProgramBase.cs 2005-04-04 14:08:28.000000000 +0200
17 +++ src/NAnt.Core/Tasks/ExternalProgramBase.cs.new 2007-12-31 17:28:09.000000000 +0100
18 @@ -452,7 +452,8 @@
19 }
20 }
21 }
22 - OutputWriter.Flush();
23 + lock (_lockObject)
24 + OutputWriter.Flush();
25 }
26
27 /// <summary>
28 /// Reads from the stream until the external program is ended.
29 /// </summary>
30 private void StreamReaderThread_Error() {
31 @@ -476,7 +477,8 @@
32 }
33 }
34 }
35 - ErrorWriter.Flush();
36 + lock (_lockObject)
37 + ErrorWriter.Flush();
38 }
39
40 /// <summary>
41
42
43
44 --
45 gentoo-commits@g.o mailing list