diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-05-24 17:03:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-05-24 17:03:28 +0200 |
commit | dff2bd733fc2dac08d34f2cfad0e68aeb8e7a7a2 (patch) | |
tree | 0085fabf15b8ca5034636f39e97e9ba306ca7671 /include/libbb.h | |
parent | 309f5e3775ed9cc0837c6d93482735bc4f117d5b (diff) | |
download | busybox-w32-dff2bd733fc2dac08d34f2cfad0e68aeb8e7a7a2.tar.gz busybox-w32-dff2bd733fc2dac08d34f2cfad0e68aeb8e7a7a2.tar.bz2 busybox-w32-dff2bd733fc2dac08d34f2cfad0e68aeb8e7a7a2.zip |
libarchive: treat one "FIXME: avoid seek"
function old new delta
xmalloc_read_with_initial_buf - 205 +205
setup_transformer_on_fd 154 150 -4
xmalloc_open_zipped_read_close 143 135 -8
xmalloc_read 201 10 -191
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/3 up/down: 205/-203) Total: 2 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 57cfce385..33766e989 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -881,6 +881,7 @@ extern ssize_t open_read_close(const char *filename, void *buf, size_t maxsz) FA | |||
881 | extern char *xmalloc_reads(int fd, size_t *maxsz_p) FAST_FUNC; | 881 | extern char *xmalloc_reads(int fd, size_t *maxsz_p) FAST_FUNC; |
882 | /* Reads block up to *maxsz_p (default: INT_MAX - 4095) */ | 882 | /* Reads block up to *maxsz_p (default: INT_MAX - 4095) */ |
883 | extern void *xmalloc_read(int fd, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; | 883 | extern void *xmalloc_read(int fd, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; |
884 | extern void *xmalloc_read_with_initial_buf(int fd, size_t *maxsz_p, char *buf, size_t total) FAST_FUNC; | ||
884 | /* Returns NULL if file can't be opened (default max size: INT_MAX - 4095) */ | 885 | /* Returns NULL if file can't be opened (default max size: INT_MAX - 4095) */ |
885 | extern void *xmalloc_open_read_close(const char *filename, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; | 886 | extern void *xmalloc_open_read_close(const char *filename, size_t *maxsz_p) FAST_FUNC RETURNS_MALLOC; |
886 | /* Never returns NULL */ | 887 | /* Never returns NULL */ |