Ticket #15137: patch-PkgConfigFunctions.cs
File patch-PkgConfigFunctions.cs, 548 bytes (added by aronnax@…, 17 years ago) |
---|
Line | |
---|---|
1 | --- src/NAnt.Core/Functions/PkgConfigFunctions.cs.orig 2008-04-26 23:08:21.000000000 -0400 |
2 | +++ src/NAnt.Core/Functions/PkgConfigFunctions.cs 2008-04-26 23:09:10.000000000 -0400 |
3 | @@ -260,7 +260,7 @@ |
4 | execTask.Execute(); |
5 | ms.Position = 0; |
6 | StreamReader sr = new StreamReader(ms); |
7 | - string output = sr.ReadLine(); |
8 | + string output = sr.ReadLine().Replace("\x00", ""); |
9 | sr.Close(); |
10 | return output; |
11 | } catch (Exception ex) { |