mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
https://bugzilla.tianocore.org/show_bug.cgi?id=1379 Line 208 of BaseTools/Source/Python/Trim/Trim.py uses 'NewLines.append(os.linesep)' to insert a new line into the list that will be written to the output file. This causes the '\r\n' inserted with os.linesep to be written as '\r\r\n', causing some assemblers to error. Cc: Bob Feng <[email protected]> Cc: Liming Gao <[email protected]> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan <[email protected]> Tested-by: Laszlo Ersek <[email protected]> Tested-by: Ard Biesheuvel <[email protected]> Reviewed-by: Liming Gao <[email protected]> Reviewed-by: Bob Feng <[email protected]>