Mercurial > hg > toybox
view generated/README.txt @ 953:13916d161ec0
xzcat: remove XZ_(PREALLOC|SINGLE), inline xz_dec_bcj_create
Because we only use XZ_DYNALLOC, there's a bunch of dead code.
This patch removes the #ifdef's and if()s associated with support for
multiple modes.
single_call was only used to store the mode; it is no longer needed.
A little bit of reorganization was needed to reduce the number of prototypes.
Documentation associated with dead code was dropped.
There are still some relics of multiple modes in the continued presence
of "XZ_DYNALLOC" and xz_mode.
Additionally, I inlined xz_dec_bcj_create; it was called once.
This loses about 125 lines, mostly comments.
author | Isaac Dunham <idunham@lavabit.com> |
---|---|
date | Wed, 17 Jul 2013 17:25:07 -0500 |
parents | 7cde22266e65 |
children |
line wrap: on
line source
All the files in this directory except this README are generated by the build. (See scripts/make.sh) config.h: CFG_COMMAND and USE_COMMAND() macros set by menuconfig via .config. Config.in: Kconfig entries for each command. Included by top level Config.in. The help text in here is used to generated help.h help.h: Help text strings for use by "help" command. Building this file requires python on the host system, so the prebuilt file is shipped in the build tarball to avoid requiring python to build toybox. newtoys.h: List of NEWTOY() or OLDTOY() macros for all available commands. Associates command_main() functions with command names, provides option string for command line parsing (see lib/args.c), specifies where to install each command and whether toysh should fork before calling it.