Hello, This series contains various fixes for busybox that were identified during porting to run on the Morello platform [1].
It is believed that all of these patches are beneficial to general platforms, however. The first patch fixes a reference identification bug in bc that can lead to an array of numbers being excluded should sizeof(BcNum) != sizeof(BcVec). Unit test reporting for bunzip2 and gunzip is fixed in the second patch. For the third patch, sed is reworked s.t. it can no longer fclose the same file multiple times (which is undefined behaviour). The last six patches swap out ptrdiff_t with intptr_t. This is because there is no guarantee that ptrdiff_t can store a full pointer (unfortunately it is used as an intermediate to cast to pointer in various places in the code). Cheers, -- Steve [1] https://www.morello-project.org Tudor Cretu (3): bc: Fix condition for reference testsuite: Source testing.sh for bunzip2, gunzip, and bzcat tests sed: Don't close the same file twice Vincenzo Frascino (6): get_console: Replace ptrdiff_t with intptr_t in xioclt() console-tools: Replace ptrdiff_t with intptr_t in xioclt() networking: Replace ptrdiff_t with intptr_t in fcntl() coreutils: Replace ptrdiff_t with intptr_t mailutils: Replace ptrdiff_t with intptr_t shell: Replace ptrdiff_t with intptr_t console-tools/deallocvt.c | 2 +- console-tools/kbd_mode.c | 2 +- console-tools/openvt.c | 2 +- console-tools/showkey.c | 4 ++-- coreutils/printf.c | 2 +- editors/sed.c | 9 ++++++--- libbb/get_console.c | 4 ++-- mailutils/popmaildir.c | 4 ++-- miscutils/bc.c | 2 +- networking/isrv.c | 6 +++--- networking/tftp.c | 2 +- shell/ash.c | 2 +- testsuite/bunzip2.tests | 2 +- testsuite/bzcat.tests | 3 +-- 14 files changed, 24 insertions(+), 22 deletions(-) -- 2.35.1 _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox