which: fix TODO with NOFORK+malloc_failure misbehaving
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 12 Jan 2018 12:21:33 +0000 (13:21 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 12 Jan 2018 12:21:33 +0000 (13:21 +0100)
commitcca7c611f26d98415c0f986e5a5e731ab5e379ff
treea080a096774447299f7772bc5c5e6a47d2a9ef0f
parent3bb3e1d0a1eed01306e22e59db8de6c2d945165a
which: fix TODO with NOFORK+malloc_failure misbehaving

function                                             old     new   delta
find_executable                                       86     104     +18
which_main                                           202     194      -8
executable_exists                                     66      51     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 18/-23)             Total: -5 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
debianutils/which.c
include/libbb.h
libbb/executable.c
libbb/messages.c