ref: 4802353de1eba61ece69ff2376c334c6b401fe59
parent: 54333380cabfd53bc15ca840c3e1042fc9c7b260
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Dec 23 15:31:44 EST 2024
trailing zeros trimming: null-terminate
--- a/print.c
+++ b/print.c
@@ -618,6 +618,7 @@
if(num_format[1] == 'e'){
while(*e)
s[sz++] = *e++;
+ s[sz] = 0;
}
}
}