unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH 0/8] Move py C utility code to pyutil; guard overflow
@ 2023-05-31  0:49 Rob Browning
  2023-05-31  0:49 ` [PATCH 1/8] bup_shared_cflags: add -Winline Rob Browning
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Rob Browning @ 2023-05-31  0:49 UTC (permalink / raw)
  To: guile-devel

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




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-05-31  1:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31  0:49 [PATCH 0/8] Move py C utility code to pyutil; guard overflow Rob Browning
2023-05-31  0:49 ` [PATCH 1/8] bup_shared_cflags: add -Winline Rob Browning
2023-05-31  0:49 ` [PATCH 2/8] Create src/pyutil.c for utility functions Rob Browning
2023-05-31  0:49 ` [PATCH 3/8] pyutil: add INTEGER_TO_PY as BUP_LONGISH_TO_PY Rob Browning
2023-05-31  0:49 ` [PATCH 4/8] pyutil: add bup_uint_from_py bup_ulong_from_py bup_ullong_from_py Rob Browning
2023-05-31  0:49 ` [PATCH 5/8] pyutil: add BUP_ASSIGN_PYLONG_TO_INTEGRAL; use EXPR_SIGNED Rob Browning
2023-05-31  0:49 ` [PATCH 6/8] _helpers: remove vestigial py2 utimes related code Rob Browning
2023-05-31  0:49 ` [PATCH 7/8] HashSplitter_init: guard against bits/fanbits overflow Rob Browning
2023-05-31  0:49 ` [PATCH 8/8] Reject bup_getpwuid bup_getgrgid argument overflow Rob Browning
2023-05-31  1:54 ` [PATCH 0/8] Move py C utility code to pyutil; guard overflow Rob Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).