busybox/miscutils
Denys Vlasenko c61fdadf97 libbb/archival: make setup_unzip_on_fd() return bytes read if not compressed
setup_unzip_on_fd() does not return the transformer structure, so the user
does not know how much to seek back (or alternatively what the signature was)
when compressor signature is not detected.

Currently not needed (the only user is tar which dies anyway).
However, rpm2cpio may need this if we extend it to extract the internal .cpio
even if cpio's compressions algo is not known.

function                                             old     new   delta
setup_unzip_on_fd                                     53      59      +6

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2025-04-20 23:49:33 +02:00
..
adjtimex.c Update applet size estimates 2023-07-10 17:25:21 +02:00
ascii.c Update applet size estimates 2023-07-10 17:25:21 +02:00
bbconfig.c libarchive: add a function to unpack embedded data 2018-11-02 14:14:51 +01:00
bc.c Update applet size estimates 2023-07-10 17:25:21 +02:00
beep.c Update applet size estimates 2023-07-10 17:25:21 +02:00
chat.c Update applet size estimates 2023-07-10 17:25:21 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
conspy.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
crond.c crond: log5 fix typo, replace log level '4' with '5' 2024-03-02 17:03:37 +01:00
crontab.c libbb: invert the meaning of SETUP_ENV_NO_CHDIR -> SETUP_ENV_CHDIR 2022-01-13 12:50:48 +01:00
dc.c timeout,top,watch,ping: parse NN.N fractional duration in locales with other separators 2021-03-23 13:50:02 +01:00
devfsd.c libbb: code shrink: introduce and use [_]exit_FAILURE() 2023-06-15 11:55:56 +02:00
devmem.c Update applet size estimates 2023-07-10 17:25:21 +02:00
fbsplash.c libbb/archival: make setup_unzip_on_fd() return bytes read if not compressed 2025-04-20 23:49:33 +02:00
fbsplash.cfg fbsplash: cosmetic comment and Config text fixes; rename .ini -> .cfg 2008-03-26 15:12:11 +00:00
flash_eraseall.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
flash_lock_unlock.c whitespace and comment format fixes, no code changes 2017-10-05 15:33:28 +02:00
flashcp.c *: --help tweaks 2021-06-14 20:47:20 +02:00
getfattr.c introduce and use exitcode_t 2023-07-17 17:29:36 +02:00
hdparm.c *: style fix 2022-08-30 16:41:17 +02:00
hexedit.c Update applet size estimates 2023-07-10 17:25:21 +02:00
i2c_tools.c i2ctransfer: fix build warning 2023-07-10 17:27:26 +02:00
inotifyd.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
Kbuild.src Remove trailing empty lines 2016-11-23 10:43:39 +01:00
less.c ash,hush: fix handling of SIGINT while waiting for interactive input 2022-01-17 11:46:23 +01:00
lsscsi.c Update applet size estimates 2023-07-10 17:25:21 +02:00
makedevs.c introduce and use exitcode_t 2023-07-17 17:29:36 +02:00
man.c libbb/archival: make setup_unzip_on_fd() return bytes read if not compressed 2025-04-20 23:49:33 +02:00
microcom.c Update applet size estimates 2023-07-10 17:25:21 +02:00
mim.c mim: run scripts from a specification file 2020-04-30 17:23:08 +02:00
mt.c Update applet size estimates 2023-07-10 17:25:21 +02:00
nandwrite.c Update applet size estimates 2023-07-10 17:25:21 +02:00
partprobe.c Update applet size estimates 2023-07-10 17:25:21 +02:00
raidautorun.c Update applet size estimates 2023-07-10 17:25:21 +02:00
readahead.c Update applet size estimates 2023-07-10 17:25:21 +02:00
rfkill.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
runlevel.c Update applet size estimates 2023-07-10 17:25:21 +02:00
rx.c Update applet size estimates 2023-07-10 17:25:21 +02:00
seedrng.c Update applet size estimates 2023-07-10 17:25:21 +02:00
setfattr.c introduce and use exitcode_t 2023-07-17 17:29:36 +02:00
setserial.c Update applet size estimates 2023-07-10 17:25:21 +02:00
strings.c introduce and use exitcode_t 2023-07-17 17:29:36 +02:00
time.c time: implement %% and \escapes in -f FMT 2024-01-01 22:24:42 +01:00
tree.c Update applet size estimates 2023-07-10 17:25:21 +02:00
ts.c Update applet size estimates 2023-07-10 17:25:21 +02:00
ttysize.c Update applet size estimates 2023-07-10 17:25:21 +02:00
ubi_tools.c Update applet size estimates 2023-07-10 17:25:21 +02:00
ubirename.c Update applet size estimates 2023-07-10 17:25:21 +02:00
volname.c Update applet size estimates 2023-07-10 17:25:21 +02:00
watchdog.c Update applet size estimates 2023-07-10 17:25:21 +02:00