https://issues.apache.org/bugzilla/show_bug.cgi?id=55667
Bug ID: 55667
Summary: exec task output (dcc32 compiler) - broken line
separators - mixed single used CR/LF
Product: Ant
Version: 1.8.3
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
Created attachment 30940
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30940&action=edit
Correct output
DCC32 compiler for some lines uses single CR as line separator and for some
lines LF. Until 1.8.3 output redirected to file was identical to original one,
but since this version CR ones are removed from output so output file contains
long lines. IMHO problem is related to 50507 fix.
<macrodef name="dcc32">
<attribute name="file" />
<attribute name="filebase" />
<attribute name="switches" default="" />
<attribute name="subdir" default="" />
<attribute name="show" default="true" />
<sequential>
<delete>
<fileset dir="${logdir}" includes="_cmp_@{file}.*,_err_@{file}.*" />
</delete>
<echo>Compile: @{subdir}@{file}</echo>
<move file="@{filebase}.cfg" tofile="@{filebase}.cfg.backup"
failonerror="false"/>
<exec executable="${delphihome}\bin\dcc32.exe" dir="@{subdir}"
failonerror="true"
output="${logdir}\_cmp_@{file}.log" append="true">
<arg value="@{file}" />
<arg line="-B -E"." -LE"." -LN"."
-Z"." -A -H -W -GD -cg -O -I" />
<arg
line="-$A+,B-,C+,D+,E-,F-,G+,H+,I+,J-,K-,L+,M-,N+,O-,P+,Q+,R-,S-,T-,U-,V-,W-,X+,Y+,Z1"
/>
<arg line="${dcc32_lib}" />
<arg line="-$M16384,1048576 -K$00400000" />
<arg line="-N"${dcudir}"" />
<arg line="@{switches}" />
</exec>
</sequential>
</macrodef>
--
You are receiving this mail because:
You are the assignee for the bug.