diff options
author | Rob Landley <rob@landley.net> | 2012-07-23 23:38:34 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-07-23 23:38:34 -0500 |
commit | 07d79af7182c130858a84274718f9d0c84d15109 (patch) | |
tree | 1774612c377ec0411bff86aa0c0d65e666441914 /main.c | |
parent | 8f90d3aa019ff89e19e0977c22be8b73c92109a3 (diff) | |
download | toybox-07d79af7182c130858a84274718f9d0c84d15109.tar.gz |
Workaround longstanding glibc/ld bug, ala http://sources.redhat.com/bugzilla/show_bug.cgi?id=3400, which prevents "./toybox | wc" from producing any output when toybox was statically linked.0.4.0
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -133,12 +133,12 @@ void toybox_main(void) } len += printf("%s ",toy_list[i].name); if (len>65) { - putchar('\n'); + xputc('\n'); len=0; } } } - putchar('\n'); + xputc('\n'); } int main(int argc, char *argv[]) |