Re: [PATCH] state: check return value of chown

2021-01-05 Thread yeholmes
On Mon, 04 Jan 2021 20:20:58 -, Karl Palsson wrote: > This is akin to the classic problem of logging macros turning off > code. You need to introduce an extra variable for the assert to > check. (If you want to keep going down this path) Thank you very much for your 'junk' code :) I've tested

[PATCH] openpgm: Add Pragmatic General Multicast library

2021-01-03 Thread yeholmes
From: Ye Holmes Signed-off-by: Ye Holmes --- libs/openpgm/Makefile | 64 +++ .../0001-Rename-openpgm-5.2.pc.in.patch | 22 +++ ...hecksum.c-fix-build-with-32-bits-MMX.patch | 38 +++ 3 files changed, 124 insertions(+) create mode 100644

[PATCH] state: check return value of chown

2021-01-02 Thread yeholmes
From: Ye Holmes wrap around chown with `assert, this avoids unused result warnings being treated as errors by prebuilt GCC (with glibc-2.31, version 10.2): procd-2020-12-12-7f12c89d/state.c: In function 'state_enter': procd-2020-12-12-7f12c89d/state.c:147:4: error: ignoring return value of 'ch

[PATCH] state: check return value of chown

2021-01-02 Thread yeholmes
From: Ye Holmes Output warning in case changing the ownership of ubus' home directory has failed. Besides, this avoids treating unused result warning as error by GCC (with glibc-2.31, version 10.2): procd-2020-12-12-7f12c89d/state.c: In function 'state_enter': procd-2020-12-12-7f12c89d/state.c:1

[PATCH] scripts/ext-toolchain.sh: modify ar/ranlib scripts

2021-01-01 Thread yeholmes
From: Ye Holmes The external toolchain scripts generated for ar/gcc-ar/ranlib/gcc-ranlib do not work well for latest prebuilt GNU toolchain downloaded from ARM: 1. aarch64-none-linux-gnu-ar and aarch64-none-linux-gnu-ranlib cannot generate correct static libraries for a number of packages with Li