WSL 2 have windows FileSystem and as a result we have \r symbols before \n
For this cases we can just remove \r\n (\n is a last symbol) for the node value.
aToken2.Clear();
else {
Line.Remove(1,Pos-1);
+ const Standard_Integer aLineLength = Line.Length();
+ if (aLineLength >= 2)
+ {
+ if (Line.Value(aLineLength - 1) == '\r')
+ {
+ Line.Remove(aLineLength - 1);
+ }
+ }
Line.Remove(Line.Length());
aToken2 = Line;
}
-puts "TODO CR23671 Linux: Error"
-puts "TODO CR23671 Linux: Draw_Failure: Could not open"
-
puts "============"
puts "CR23671"
puts "============"