File tree Expand file tree Collapse file tree
Src/Utilities/pcpatrflex/DisambiguateInFLExDB Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ private void CreateBatchFile()
5858 sbBatchFile . Append ( "\\ pcpatr64\" -t " ) ;
5959 sbBatchFile . Append ( takeFileName ) ;
6060 sbBatchFile . Append ( "\n " ) ;
61- string removeCRs = sbBatchFile . ToString ( ) . Replace ( "\r " , "" ) ;
61+ string removeCRs = sbBatchFile . ToString ( ) . Replace ( "\r " , "" ) . Replace ( "
" , "" ) ;
6262 File . WriteAllText ( BatchFile , removeCRs ) ;
6363 Console . WriteLine ( "\n batch file =" ) ;
6464 Console . WriteLine ( "=================================================" ) ;
@@ -155,7 +155,7 @@ private void CreateTakeFile()
155155 // since the batch fle defaults to the temp directory, we just use the invoker files as they are
156156 sbTake . Append ( "file disambiguate Invoker.ana Invoker.and\n " ) ;
157157 sbTake . Append ( "exit\n " ) ;
158- string removeCRs = sbTake . ToString ( ) . Replace ( "\r " , "" ) ;
158+ string removeCRs = sbTake . ToString ( ) . Replace ( "\r " , "" ) . Replace ( "
" , "" ) ;
159159 File . WriteAllText ( takeFile , removeCRs ) ;
160160 AndFile = Path . Combine ( Path . GetTempPath ( ) , "Invoker.and" ) ;
161161 Console . WriteLine ( "\n take file =" ) ;
You can’t perform that action at this time.
0 commit comments