Proposed for main. This starts moving some of the utility functions to src/bup/pyutil.*, so that we can use them everywhere, e.g. hashsplit, bupsplit...
Rob Browning (8): bup_shared_cflags: add -Winline Create src/pyutil.c for utility functions pyutil: add INTEGER_TO_PY as BUP_LONGISH_TO_PY pyutil: add bup_uint_from_py bup_ulong_from_py bup_ullong_from_py pyutil: add BUP_ASSIGN_PYLONG_TO_INTEGRAL; use EXPR_SIGNED _helpers: remove vestigial py2 utimes related code HashSplitter_init: guard against bits/fanbits overflow Reject bup_getpwuid bup_getgrgid argument overflow GNUmakefile | 4 +- lib/bup/_hashsplit.c | 14 +- lib/bup/_helpers.c | 368 +++++-------------------------------------- src/bup/pyutil.c | 93 +++++++++++ src/bup/pyutil.h | 54 +++++++ 5 files changed, 196 insertions(+), 337 deletions(-) create mode 100644 src/bup/pyutil.c create mode 100644 src/bup/pyutil.h -- 2.39.2