~vcs-imports/busybox/trunk

Viewing all changes in revision 17791.

  • Committer: Denys Vlasenko
  • Date: 2024-10-08 02:03:17 UTC
  • Revision ID: git-v1:49d9e06fbab0b02a71deed57610edb0c8f4fb20c
libbb: modify find_executable() to not temporarily write to PATH

This allows to simplify "which" applet code

function                                             old     new   delta
find_executable                                       93     111     +18
which_main                                           191     177     -14
builtin_source                                       316     294     -22
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 18/-36)            Total: -18 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: