Update the thread-local storage patch, to fix #335178
[beagle.git] / beagled / Lucene.Net / upstream-changes / 09-path-combine.patch
blobfb1c8b58db1fae6b4bcccb3a1d0cb12f5f69f55f
1 --- Lucene.Net/Store/FSDirectory.cs.orig 2005-10-02 11:39:56.000000000 +0100
2 +++ Lucene.Net/Store/FSDirectory.cs 2005-10-02 11:45:26.000000000 +0100
3 @@ -568,13 +568,13 @@ namespace Lucene.Net.Store
4 /// </summary>
5 public override IndexOutput CreateOutput(System.String name)
7 - return new FSIndexOutput(new System.IO.FileInfo(directory.FullName + "\\" + name));
8 + return new FSIndexOutput(new System.IO.FileInfo(System.IO.Path.Combine(directory.FullName, name)));
11 /// <summary>Returns a stream reading an existing file. </summary>
12 public override IndexInput OpenInput(System.String name)
14 - return new FSIndexInput(new System.IO.FileInfo(directory.FullName + "\\" + name));
15 + return new FSIndexInput(new System.IO.FileInfo(System.IO.Path.Combine(directory.FullName, name)));
18 static public Beagle.Util.Logger Logger = null;