aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-26 20:48:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-26 20:48:46 +0000
commit17a1526f9e2cb0a383fe0765ce803833be28773c (patch)
treec20724d49df25c91c15caee6db0ab3a5b036620c /docs
parent91dd275f058500dc703d46c6114f6b037007129d (diff)
downloadbusybox-17a1526f9e2cb0a383fe0765ce803833be28773c.tar.gz
sed: a communal variable managed to slip past 'size'
('size' happily displays 0 bytes in data and bss, but in reality sed.o used 180 bytes of it). Oh well. function old new delta pipe_putc 67 76 +9 sed_main 627 633 +6 get_next_line 161 166 +5 bbg 180 - -180 (add/remove: 0/1 grow/shrink: 3/0 up/down: 20/-180) Total: -160 bytes sed: also make sed -i failure message less cryptic
Diffstat (limited to 'docs')
-rw-r--r--docs/keep_data_small.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/keep_data_small.txt b/docs/keep_data_small.txt
index 3c3d27396..55f4fc95a 100644
--- a/docs/keep_data_small.txt
+++ b/docs/keep_data_small.txt
@@ -112,7 +112,7 @@ Be careful, though, and use it only if globals fit into bb_common_bufsiz1.
Since bb_common_bufsiz1 is BUFSIZ + 1 bytes long and BUFSIZ can change
from one libc to another, you have to add compile-time check for it:
-if(sizeof(struct globals) > sizeof(bb_common_bufsiz1))
+if (sizeof(struct globals) > sizeof(bb_common_bufsiz1))
BUG_<applet>_globals_too_big();