SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
39
misc/rocrail/patches/patch-analyser_impl_analyse_c
Normal file
39
misc/rocrail/patches/patch-analyser_impl_analyse_c
Normal file
|
@ -0,0 +1,39 @@
|
|||
Index: analyser/impl/analyse.c
|
||||
--- analyser/impl/analyse.c.orig
|
||||
+++ analyser/impl/analyse.c
|
||||
@@ -1208,7 +1208,7 @@ static Boolean __analyseBehindConnector(iOAnalyse inst
|
||||
__analyseItem(inst, nextitem, route, occ, travel, 0, depth, searchingSignal, behindABlock );
|
||||
}
|
||||
|
||||
- return;
|
||||
+ return found;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1437,7 +1437,7 @@ static Boolean __analyseItem(iOAnalyse inst, iONode it
|
||||
searchingSignal = False;
|
||||
|
||||
if( behindABlock) {
|
||||
- return;
|
||||
+ return False;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1454,7 +1454,7 @@ static Boolean __analyseItem(iOAnalyse inst, iONode it
|
||||
if( behindABlock) {
|
||||
TraceOp.trc( name, TRCLEVEL_DEBUG, __LINE__, 9999, "behind a block");
|
||||
|
||||
- return;
|
||||
+ return False;
|
||||
}
|
||||
|
||||
TraceOp.trc( name, TRCLEVEL_INFO, __LINE__, 9999, "next is a block: [%s]", wItem.getid(nextitem));
|
||||
@@ -1503,7 +1503,7 @@ static Boolean __analyseItem(iOAnalyse inst, iONode it
|
||||
|
||||
if( travelp > 10 && behindABlock){
|
||||
TraceOp.trc( name, TRCLEVEL_INFO, __LINE__, 9999, " found a turnout [%s] behind the end block: return", wItem.getid(nextitem));
|
||||
- return;
|
||||
+ return False;
|
||||
}
|
||||
|
||||
/* item is a turnout -> coming from the points: dive into branches */
|
Loading…
Add table
Add a link
Reference in a new issue