diff options
author | Ron Yorston <rmy@frippery.org> | 2015-07-01 16:46:18 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-07-13 04:02:45 +0200 |
commit | 072fc60f29ee3a4ff38f095a9ef149b2e820c8c0 (patch) | |
tree | 8180cc80c19bca52fe07e8dad8fd69cf84fe545f /sysklogd/klogd.c | |
parent | f54a487bb4d36a4318c5ec539f8265fdff2cac90 (diff) | |
download | busybox-072fc60f29ee3a4ff38f095a9ef149b2e820c8c0.tar.gz |
ash: use alloca to get rid of setjmp
Now that the only thing protected by setjmp/longjmp is the saved string,
we can allocate it on the stack to get rid of the jump.
Based on commit bd35d8e from git://git.kernel.org/pub/scm/utils/dash/dash.git
by Herbert Xu.
function old new delta
readtoken1 3182 3116 -66
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-66) Total: -66 bytes
Signed-off-by: Ron Yorston <rmy@frippery.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd/klogd.c')
0 files changed, 0 insertions, 0 deletions