Denys Vlasenko | 34f6b12330a | hush: make run_pipe code simpler to understand, no logic changes
function ... | | |
Denys Vlasenko | d358b0b65da | hush: fix a bug where we don't properly handle f() { a=A; b=B; }; a= f
function ... | | |
Denys Vlasenko | 332e4115c97 | hush: make var nesting code independent of "local" support
Also, add code to abort at ~65000 function recursion dept... | | |
Denys Vlasenko | 61407807ab6 | hush: fix for readonly vars in "ro=A ro=B cmd" case
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 759ca8a4cb5 | sort: move misplaced comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | c29c2e60d86 | sort: FEATURE_SORT_OPTIMIZE_MEMORY
On sorting all kernel/linux/arch/ *.[ch] files,
this reduces memory usage by 6%.
... | | |
Denys Vlasenko | ee1fd1246e7 | ash: unbreak PS1 parsing after "ash: parser: Add syntax stack..." commit
Signed-off-by: Denys Vlasenko <vda.linux@go... | | |
Denys Vlasenko | fbf44854a3b | hush: support "f() (cmd)" functions
Many other shells support this construct
function ... | | |
Denys Vlasenko | 49015a60cb3 | hush: fix mishandling of "true | f() { echo QWE; }"
function old new... | | |
Denys Vlasenko | 5fa0505f8a7 | hush: fix "set -e; false || x=1; echo OK"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 11752d46d18 | hush: one-word, no-globbing handling of local/export/readonly args
function ... | | |
Denys Vlasenko | f50e14632f7 | ash: parser: Fix parameter expansion inside inner double quotes
Upstream email:
parser: Fix parameter expansion... | | |
Denys Vlasenko | abf755615e5 | hush: fix a backslash-removal bug in case
function old new delta
r... | | |
Denys Vlasenko | 9a95df90463 | ash: expand: Fix bugs with words connected to the right of $@
Upstream email:
This is actually composed of two ... | | |
Denys Vlasenko | 355ec353be1 | ash: redir: Fix typo in noclobber code
Upstream commit "redir: Fix typo in noclobber code"
Signed-off-by: Denys Vla... | | |
Denys Vlasenko | c4c2012284c | ash: parser: Fix single-quoted patterns in here-documents
Upstream commit:
From: Herbert Xu <herbert@gondor.apa... | | |
Denys Vlasenko | 8b536eb40d7 | hush: remove stray debugging printout
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 216913c290f | ash: parser: Add syntax stack for recursive parsing
This closes 10821.
Upstream patch:
From: Herbert Xu <herbe... | | |
Denys Vlasenko | e84212f8346 | hush: update information comment about heredoc discrepancy
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 899ae5337ac | libbb: new function bb_die_memory_exhausted
function old new delta... | | |
Quentin Rameau | e2afae6303e | sed: prevent overflow of length from bb_get_chunk_from_file
This fragment did not work right:
temp ... | | |
Quentin Rameau | 2da9724b561 | libbb: remove unnecessary variable in xmalloc_fgets
Signed-off-by: Quentin Rameau <quinq@fifth.space>
Signed-off-by:... | | |
Denys Vlasenko | bb6f573ad20 | hush: add a comment where we differ from bash wrt heredoc EOF mark handling
Signed-off-by: Denys Vlasenko <vda.linux... | | |
Denys Vlasenko | 41fddb43729 | parser: Fix backquote support in here-document EOF mark
Upstream commit:
Author: Herbert Xu <herbert@gondor.apa... | | |
Denys Vlasenko | 2c5ceb6065b | Bump version to 1.28.3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | e04a38c0c91 | hush: fix a signedness bug
Testcase:
set -- a ""; space=" "; printf "<%s>\n" "$@"$space
Before:
<a >
After:
<a>
<>... | | |
Denys Vlasenko | 78ee8fc3e45 | ash: fix "char == CTLfoo" comparison signedness bug
It usually does not bite since bbox forces -funsigned-char build... | | |
Natanael Copa | 08cbe510dd7 | cpio: extract "unsafe" symlinks the same way tar/unzip does
function old... | | |
Denys Vlasenko | af874cc63e7 | grep: fix echo "aa" | busybox grep -F -w "a" (should not match)
function ... | | |
Denys Vlasenko | b1aa377a3f2 | ash,hush: fix "saved" redirected fds still visible in children
Based on a patch by Mark Marshall <mark.marshall@omic... | | |
Denys Vlasenko | 1e5111b0f80 | ash,hush: handle a few more bkslash-newline cases
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 32e183e63ec | shells: fix var_LINENO1.tests false positive, add it to ash tests too
Signed-off-by: Denys Vlasenko <vda.linux@googl... | | |
Denys Vlasenko | a94eeb0b422 | hush: fix heredoc_bkslash_newline1.tests failure
function old new ... | | |
Denys Vlasenko | 220be537a03 | ash: use pgetc_eatbnl() in more places
Part of upstream commit:
Date: Thu Mar 8 08:37:11 2018 +0100
Autho... | | |
Martijn Dekker | ad4e961352f | ash: 'nolog' and 'debug' options cause "$-" to wreak havoc
Upstream commit:
Date: Tue Mar 6 17:40:37 2018 +00... | | |
Denys Vlasenko | 7bf304f371e | stat: fix a typo: s/romfs/ramfs/, closes 10876
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 6ffaa00338a | hush: fix a signedness bug
Testcase:
set -- a ""; space=" "; printf "<%s>\n" "$@"$space
Before:
<a >
After:
<a>
<>... | | |
Denys Vlasenko | 73523079a2c | ash,hush: new test dollar_repl_slash_bash2.tests
This fails for ash. hush works.
Signed-off-by: Denys Vlasenko <vda... | | |
Denys Vlasenko | ac61f447040 | ash: fix "char == CTLfoo" comparison signedness bug
It usually does not bite since bbox forces -funsigned-char build... | | |
Denys Vlasenko | 60fb98e51d1 | ash: use F_DUPFD_CLOEXEC and O_CLOEXEC
function old new delta
setj... | | |
Denys Vlasenko | df65dc89b42 | examples/var_service: new example: dnsmasq service
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Natanael Copa | d9503224c8a | cpio: extract "unsafe" symlinks the same way tar/unzip does
function old... | | |
Denys Vlasenko | 0d79d7709dc | svok: new applet (daemontools compat)
function old new delta
svok_... | | |
Denys Vlasenko | d892f7137f4 | ifplugd service example: always run up/down script on startup
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Stefan Agner | 2adaa90534d | ifplugd: if SIOCSIFFLAGS fails with EADDRNOTAVAIL, don't die
When using ifplugd on a RNDIS interface with monitor mo... | | |
Peter Korsgaard | a82fe671f5c | fbsplash: support configurable image position
For some setups (E.G. for supporting different screen resolutions),
po... | | |
Denys Vlasenko | 03fd7e06f85 | grep: fix echo "aa" | busybox grep -F -w "a" (should not match)
function ... | | |
Denys Vlasenko | 3be4b9b0dee | fstrim: do not check that specified file is on a block device
Kernel will surely inform us in FITRIM does not make s... | | |
Denys Vlasenko | d1b845706df | hush: add a FIXME comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9acd63c92cb | ash,hush: fix "saved" redirected fds still visible in children
Based on a patch by Mark Marshall <mark.marshall@omic... | | |
Denys Vlasenko | e4defe826be | libbb: use BUILD_BUG_ON in utoa_to_buf()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Kaarle Ritvanen | 123fdda0a4a | ifupdown: do not fail if interface disappears during ifdown
Interface may not exist because it got deleted by an ifd... | | |
Denys Vlasenko | 46ba2468a3d | ioctl(SIOCGIFINDEX) does not require clearing of entire ifr
function old... | | |
Mark Marshall | 98592db3231 | netstat: produce numeric-ip output for non-resolved names
If we don't ask for numerical output, and the symbolic loo... | | |
Ron Yorston | 2afdcc77ccd | ssl_client: fix option parsing
The wrong character was used to indicate options taking an integer
parameter.
Signed... | | |
Ron Yorston | b5820d9fd88 | ssl_client: fix option parsing
The wrong character was used to indicate options taking an integer
parameter.
Signed... | | |
Denys Vlasenko | b3e98b1ccc8 | top: fix "warning: unused variable new_mask"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 3c08437db7b | tar: add -o and -k to short --help too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 1ee222e1bf2 | tar: add -k and -o to --help
-o Don't restore user:group
-k Don't replace existing files
Signed-off-by: Den... | | |
Denys Vlasenko | c74f1d2cb48 | tcpsvd: fix fallout from opt_complementary removal
text data bss dec hex filename
933035 473 ... | | |
Denys Vlasenko | 62b7083c13a | udhcpd: clamp down huge auto_times to ~2M seconds, better EINTR poll handling
EINTR _should_ only happen on two sign... | | |
Denys Vlasenko | bbe47d9b9ae | tcpsvd: fix fallout from opt_complementary removal
text data bss dec hex filename
933035 473 ... | | |
Denys Vlasenko | 0e09ded2f1a | readprofile: code shrink
function old new delta
defaultpro ... | | |
Denys Vlasenko | 448fdcc17df | ntpd: choose initial FREQHOLD_cnt dynamically
function old new del... | | |
Denys Vlasenko | 3d306bffc59 | udhcpd: clamp down huge auto_times to ~2M seconds, better EINTR poll handling
EINTR _should_ only happen on two sign... | | |
Denys Vlasenko | 39dfb4de38f | ntpd: suppress in-kernel frequency correction in first 8 adjtimex calls
In other words: try to correct initially exi... | | |
Denys Vlasenko | 39bf15ba3e5 | udhcpd: fix "not dying on SIGTERM"
Fixes:
commit 52a515d18724bbb34e3ccbbb0218efcc4eccc0a8
"udhcp: use poll() inste... | | |
Denys Vlasenko | 37277a23fe4 | tar,unzip: postpone creation of symlinks with "suspicious" targets
This mostly reverts commit bc9bbeb2b81001e8731cd2... | | |
Denys Vlasenko | 3293bc14698 | udhcpd: fix "not dying on SIGTERM"
Fixes:
commit 52a515d18724bbb34e3ccbbb0218efcc4eccc0a8
"udhcp: use poll() inste... | | |
Denys Vlasenko | 3936222a0ac | remove stray newline in "iplink --help"
function old new delta
pac... | | |
Denys Vlasenko | db169f25385 | ip: fix "ip -oneline a"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 7798282db22 | ipcs: further code shrink
function old new delta
packed_usage ... | | |
Denys Vlasenko | f7fa8001b7d | ipcs: code shrink
function old new delta
packed_usage ... | | |
Denys Vlasenko | 694bc063458 | md5sum: use config help text similar to other "sum" tools
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | a2cae937d02 | top: much faster cursor key navigation by avoiding process rescan
function ... | | |
Denys Vlasenko | 75e56a3db9c | top: do unsigned rather than signed division in do_stats()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 86107d6dc7b | top: handle much larger VSZ values
function old new delta
display_... | | |
Denys Vlasenko | e1b1b792697 | use gmtime_r() instead of gmtime()
This avoids pulling in gmtime's static buffer:
function ... | | |
Denys Vlasenko | 33f7c8f200b | hush: code shrink
function old new delta
run_pipe ... | | |
Denys Vlasenko | d51ba0b5ab1 | networking/interface.c: get rid of global data
These were data/bss:
static.proc_read ... | | |
Denys Vlasenko | 82ec89480d5 | networking/interface.c: get rid of global "smallint interface_opt_a"
Signed-off-by: Denys Vlasenko <vda.linux@google... | | |
Denys Vlasenko | 8a5299fcfd5 | networking/interface.c: code shrink
function old new delta
ife_pri... | | |
Peter Lloyd | 804ce5a6fed | wget: fix fetching of https URLs with http proxy
When fetching a https:// URL with HTTP proxy configured
(e.g. with ... | | |
Sean MacLennan | d9aabfe578e | make busybox more portable
Move some distro specific include files into the appropriate #ifdef
blocks to make the co... | | |
Denys Vlasenko | d4802c6243e | hush: fix a='a\\'; echo "${a%\\\\}"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 55f8133a4fb | shell: tweak bkslash_in_varexp.tests, add bkslash_in_varexp1.tests
It turns out bkslash_in_varexp.tests was a bash b... | | |
Denys Vlasenko | 744a20d8f9b | shell: two new tests, both fail for ash and hush
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Andy Shevchenko | cc222747ae7 | libbb: Use return value from is_prefixed_with()
add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-5 (-5)
Function ... | | |
Denys Vlasenko | d82ea2ba8f9 | tcpudp: shrink per-host rate-limiting code
function old new delta
... | | |
Denys Vlasenko | 0e0209ac531 | less: accept -R option. Closes 10816
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Ron Yorston | 23286900da2 | lineedit: allow window size tracking to be disabled
function old new... | | |
Denys Vlasenko | e20a703fd34 | df: do "rootfs" check sooner
function old new delta
df_main ... | | |
Denys Vlasenko | 58cd6e1adef | df: 4TB+ support on 32 bits arch
Reported for Pascal Bellard.
function ... | | |
Denys Vlasenko | bf39d97e9d9 | Fix install with hardlinks and a custom PREFIX. Closes 10801
Trying to install busybox with hardlinks and a custom P... | | |
Denys Vlasenko | 3177626033f | od: move address_fmt[] from data to globals. 8 less bytes in data section
function ... | | |
Denys Vlasenko | 2709acbbda8 | sort: fix potentially buggy use of OPT_STR
This also makes OPT_STR reused:
text data bss dec hex ... | | |
Denys Vlasenko | 427ae18348a | sort: in -s handling, return 1/-1, not 1/0 compare result
function old ... | | |
Denys Vlasenko | 2af5e3fac39 | libbb: compile capability code only if FEATURE_SETPRIV_CAPABILITIES or RUN_INIT
Signed-off-by: Denys Vlasenko <vda.l... | | |
Denys Vlasenko | 7d285c78a35 | sort: fix -s. Closes 10671
function old new delta
sort_main ... | | |
Jan Luebbe | e789c3bea18 | iplink: implement support for selecting a master interface
Attaching an interface to a VRF is done by setting the in... | | |
Jan Luebbe | 79cda9522ad | ip link: support "add TYPE vrf", improve --help
VRF interfaces have a mandatory table parameter, which needs to be
s... | | |
Denys Vlasenko | b083e8cc538 | umount: fix "umount -t FSTYPE MNTPOINT" acting as if -a is specified
While at it, add -t to --help, and fix comments... | | |
Denys Vlasenko | a84db18fc71 | tar,unzip: postpone creation of symlinks with "suspicious" targets
This mostly reverts commit bc9bbeb2b81001e8731cd2... | | |
Denys Vlasenko | 95121d98e6d | poweroff: add a config option for people needing VERY early poweroff
Signed-off-by: Denys Vlasenko <vda.linux@google... | | |
Denys Vlasenko | 7398892ac05 | mkfs_ext2, mkfs_vfat: fix warnings in STORE_LE on big-endian platforms
"warning: large integer implicitly truncated ... | | |
Denys Vlasenko | e3821088af5 | Bump version to 1.28.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4a80eb142a4 | cp: fix option handling in non-longopt config
the patch getopt32: remove opt_complementary 22542eca18e5807b72ddc7899... | | |
Denys Vlasenko | 1574aff9424 | svlogd: improve --help text
function old new delta
packed_usage ... | | |
Denys Vlasenko | f5b9a226780 | ip: fix crash in "ip neigh show"
parse_rtattr() was using tb[] array without initializing it.
Based on patch by Bal... | | |
Denys Vlasenko | 11239223202 | tls: fix hash calculations if client cert is requested and sent
Symptoms: connecting to
openssl s_server -cert v... | | |
Aaro Koskinen | ce5ba9277b5 | cp: implement -T
Implement "cp -T". Some Linux kernel Makefiles started using this recently,
so allow also building ... | | |
Denys Vlasenko | 20f02c3c871 | tar: accomodate non-terminated tar.chksum fields as seen from github.com
function ... | | |
Denys Vlasenko | 277636670c5 | udhcpc6: fix ipv6prefix[_lease] envvar value in script invocation
Based on a patch by DannyAAM <danny@saru.moe>.
Si... | | |
Shawn Landden | 4e71661e3aa | umount: ignore -c
"-c, --no-canonicalize: Do not canonicalize paths."
As busybox doesn't canonicalize paths in the ... | | |
Ingo van Lil | 59675c625d6 | ash: fail if 'shift' operand is out of range
If the numeric argument passed to ash's 'shift' built-in is greater tha... | | |
Denys Vlasenko | a48eadbc22d | tls: remove redundant floor prevention
function old new delta
tls_... | | |
Denys Vlasenko | 256adb0f99a | ping: don't call monotonic_us twice per sending the ping
function old ... | | |
Denys Vlasenko | 7189af847fd | ping: implement -A "adaptive ping"
function old new delta
common_p... | | |
Denys Vlasenko | 4892f3a4c77 | inetd,mount: add comment with example of flags to build with libtirpc
Signed-off-by: Denys Vlasenko <vda.linux@googl... | | |
Denys Vlasenko | edccc982e51 | progress meter: add disabled code for a more stable ETA
Compiles to ~25 bytes if enabled.
Signed-off-by: Denys Vlas... | | |
Denys Vlasenko | aa617ac0970 | hush: simplify process_command_subs()
Incidentally, this fixes LINENO bug here:
echo "1:${LINENO}"
echo "2:`echo; e... | | |
Denys Vlasenko | 8de5b9f88ba | ash : fix double-quoted "\z" handling
function old new delta
readt... | | |
Denys Vlasenko | 3459024bf40 | wget: more thorough sanitization of other side's data
function old n... | | |
Ron Yorston | ecaec1dbecd | testsuite: update busybox and bzcat tests
Test scripts that use CONFIG_* variables need to source .config.
Since thi... | | |
Denys Vlasenko | 7f441403cbc | cp: fix option handling in non-longopt config
the patch getopt32: remove opt_complementary 22542eca18e5807b72ddc7899... | | |
Denys Vlasenko | b5257a67019 | arping: code shrink
function old new delta
catcher ... | | |
Denys Vlasenko | ba3b9dbf065 | libbb: introduce and use bb_getsockname()
function old new delta
b... | | |
Denys Vlasenko | d3162773d5c | arping: move packet buffer, sigset and struct ifreq to malloced "globals"
This way, we can zero them all in one go.
... | | |
Denys Vlasenko | e015d0659fd | arping: fix the case when inherited signal mask masks out ALRM
function ... | | |
Denys Vlasenko | a3ec3bd0f85 | arping: change a few message strings to be closer to iputils arping
ARPING 192.168.1.1 from 192.168.1.172 wlan0
Unic... | | |
Denys Vlasenko | f5d50fbd2f1 | arping: code shrink
Do not clear extra bits on option_mask32, it's not necessary.
Move DAD bit to 2, this makes exit... | | |
Denys Vlasenko | 3f52d13647f | svlogd: improve --help text
function old new delta
packed_usage ... | | |
Denys Vlasenko | f786901c4bc | hush: probably fixing a bug in last LINENO fix
I don't have an example of mishandled script, but the logic looked wr... | | |
Denys Vlasenko | 5807e18f0c4 | hush: LINENO fix
Script triggering the bug:
t=0
echo "at line ${LINENO}"
while [ ${t} -lt 10 ]; do
echo "at li... | | |
Denys Vlasenko | 68ae54243ca | ip: fix crash in "ip neigh show"
parse_rtattr() was using tb[] array without initializing it.
Based on patch by Bal... | | |
Denys Vlasenko | 237a900bc56 | wget: do not ask for TLS-encrypted downloads on plain ftp:// URLs
function ... | | |
Denys Vlasenko | 47529d3f165 | libbb: shrink wget/tftp progress indicator code a bit more
This makes size display 5-char wide instead of 6-char, bu... | | |
Denys Vlasenko | ab843e3244e | libbb: shrink wget/tftp progress indicator code for 32-bit
function old ... | | |
Denys Vlasenko | 2bd5b4e9a04 | udhcp: do not setlinebuf(stdout), we don't print to stdout anymore
Since bb_info_msg() was eliminated type of buffer... | | |
Denys Vlasenko | 4cae044b436 | bzip2: expose tuning knob for faster/smaller code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2b7515722b9 | wget: attempt to negotiate encrypted data ftps stream ("PROT P")
function ... | | |
Denys Vlasenko | 1267770a9db | fix compile failure in previous commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 5cdd120f0c6 | unzip: do not set directory mode to 0777
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882177
Signed-off-by: De... | | |
Denys Vlasenko | 0a90960f446 | ar: hopefully fix out-of-bounds read in get_header_ar()
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882175
Si... | | |
Denys Vlasenko | 8d943175ced | fix a thinko in parse_pasv_epsv.c
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 1783ffa9908 | wget: add EPSV support
function old new delta
parse_pasv_epsv ... | | |
Denys Vlasenko | 403f2999f94 | wget: initial support for ftps://
function old new delta
spawn_ssl... | | |
Denys Vlasenko | e999657f6da | wget: preparations for ftps:// support (block move, no code changes)
Signed-off-by: Denys Vlasenko <vda.linux@google... | | |
Denys Vlasenko | 98066662aa1 | tls: fix hash calculations if client cert is requested and sent
Symptoms: connecting to
openssl s_server -cert v... | | |
Denys Vlasenko | 5740e15de55 | ftpd: handle restarts past 2147483647 bytes. closes 10741
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | c2a51b0cf16 | bzip2: work around bad compiler optimization
gc-6.1.1 x86_64:
function o... | | |
Denys Vlasenko | f75a7c04397 | ftpd: fix aliasing warning from gcc-6.1.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 05b84d4e92b | ftpgetput: add EPSV support (PASV-like thing for IPv6)
Based on a patch by Kev Kitchens.
function ... | | |
Denys Vlasenko | daa643205f7 | ftpgetput: preparations for ESPV support, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 565af232227 | ftpd: switch to mallced "globals"
function old new delta
cmdio_wri... | | |
Denys Vlasenko | 2598915d43d | gunzip: fix from gzip-1.3.12 for gzip file with all zero length codes
Corresponding changelog from gzip-1.3.12 reads... | | |
Denys Vlasenko | 0e60a36c929 | bzip2: move runningOrder[] back to stack - 256 bytes is not much
function ... | | |
Denys Vlasenko | 86be6d5ba9d | bzip2: move ->origPtr out of struct EState, make a few members smaller
function ... | | |
Denys Vlasenko | c9ae8d770bf | bzip2: pass sorting params through EState* pointer
function old new ... | | |
Denys Vlasenko | 10f516500ec | gzip2: small simplification in mainSimpleSort()
function old new d... | | |
Denys Vlasenko | 0599a137ba5 | bzip2: a few more locals converted to generic types
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 8e31412231c | bzip2: eliminate one parameter to mainQSort3()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9431bdd1898 | bzip2: small simplification in mainSort()
function old new delta
m... | | |
Denys Vlasenko | fe1bab4d35e | bzip2: convert some locals to unsigned's
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | c364d32ccc0 | bzip2: runningOrder[] values are always 0..255, make it uint8
function o... | | |
Denys Vlasenko | df23f55e395 | bzip2: remove redundant clearing of an alredy unset bit
function old ... | | |
Denys Vlasenko | 524fa29a934 | bzip2: eliminate write-only local numQSorted
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2109fce4109 | bzip2: make locals in mainSort() saner, convert one of them from uint16 to unsigned
function ... | | |
Denys Vlasenko | aaa3818a75b | bzip2: remove redundant loop termination check in mainSort()
function ol... | | |
Denys Vlasenko | e59e5ff96e9 | bzip2: reduce indentation, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9e5662ea74c | bzip2: reuse zPend processing code
function old new delta
generate... | | |
Denys Vlasenko | 2cfe10a5586 | bzip2: shrink makeMaps_e()
function old new delta
generateMTFValue... | | |
Denys Vlasenko | 1cbcb023169 | bzip2: optimize zPend variable code
function old new delta
generat... | | |
Denys Vlasenko | fc228b48c9f | bzip2: have two separate "store bit 0" and "store bit 1" functions
function ... | | |
Denys Vlasenko | feafb3423e7 | bzip2: ~1% speedup by special-casing "store 1 bit" function
function old... | | |
Denys Vlasenko | 982c44d030d | bzip2: rewrite bit of code which depends on integer overflow
function ol... | | |
Denys Vlasenko | 83dd4ff6963 | bzip2: delete write-only fave[] array
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 3a2c97bd123 | bgip2: fewer specifically-sized [u]int32_t's locals in sendMTFValues
Generic ints/unsigneds are usually fine. Yes, r... | | |
Denys Vlasenko | 359230da8ea | bzip2: code shrink
function old new delta
sendMTFValues ... | | |
Denys Vlasenko | e594fb2171a | bzip2: code shrink
function old new delta
BZ2_compressBlock ... | | |
Denys Vlasenko | 125c3ff4b10 | bzip2: code shrink
function old new delta
bsW16 ... | | |
Denys Vlasenko | da49e7057a6 | cksum: code shrink
function old new delta
cksum_main ... | | |
Denys Vlasenko | ddacb03e875 | libbb: commonalize a bit of little-endian CRC32 table generation code
function ... | | |
Denys Vlasenko | 06076494da4 | udhcpd: use ptr_to_globals for its lone global data (g_leases)
function ... | | |
Aaro Koskinen | d15d7a0a4b0 | cp: implement -T
Implement "cp -T". Some Linux kernel Makefiles started using this recently,
so allow also building ... | | |
Denys Vlasenko | d6f0f03b68f | libarchive: move bbunpack constants to bb_archive.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 99ac1759dd4 | lzop: code shrink
function old new delta
lzo_decompress ... | | |
Denys Vlasenko | 97058d0585c | unlzop: fix --help: it has -U instead of -k
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Next → |