Package: ltrace Version: 0.7.3-5 Severity: important Given this test program
#include <stdio.h> #include <stdlib.h> int main() { FILE * fp; fp = fopen ("test.txt", "w+"); fprintf(fp, "%-4s: %-7s ", "body", "undefined"); fclose(fp); return(0); } Get this output : 21591 1447023907.549403 [0xae41a7] fprintf(0x21d0810, "%-4s: %-7s ", "body", "undefin") = 16 Expected 21591 1447023907.549403 [0xae41a7] fprintf(0x21d0810, "%-4s: %-7s ", "body", "undefined") = 16 -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ltrace depends on: ii libc6 2.19-22 ii libelfg0 0.8.13-5 ii libselinux1 2.3-2+b1 ltrace recommends no packages. ltrace suggests no packages. -- no debconf information