Skip to content

Commit b0a8246

Browse files
committed
fix Windows path
1 parent 6f227d5 commit b0a8246

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,7 @@ void indexDown(File dir, String parent, IndexDownArgs args) throws IOException {
14931493
*/
14941494
private void processFileIncremental(IndexDownArgs args, File file, String path) throws IOException {
14951495
if (uidIter != null) {
1496+
path = Util.fixPathIfWindows(path);
14961497
// Traverse terms until reaching one that matches the path of given file.
14971498
while (uidIter != null && uidIter.term() != null
14981499
&& uidIter.term().compareTo(emptyBR) != 0

0 commit comments

Comments
 (0)