# HG changeset patch # User William Astle # Date 1647644320 21600 # Node ID a812bb4d3a51e009bef9e462b991faced404101e # Parent 65c2085e0398147a0714989fa49958b0b5e9ee26 Correct raw output target in lwasm to NUL pad RMBs An incorrect test prevented lwasm from properly padding RMBs with NUL bytes for the raw output target. This corrects that test so it now works as expected. No more need to explicitly use ZMB. diff -r 65c2085e0398 -r a812bb4d3a51 lwasm/output.c --- a/lwasm/output.c Wed Mar 09 15:56:03 2022 -0700 +++ b/lwasm/output.c Fri Mar 18 16:58:40 2022 -0600 @@ -252,7 +252,7 @@ for (cl = as -> line_head; cl; cl = cl -> next) { - if (cl -> len > 0 && cl -> outputl == 0) + if (cl -> len > 0 && cl -> outputl < 0) { int i; for (i = 0; i < cl -> len; i++)