git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] [Outreachy] gpg-interface.c: use string_list_split instead of strbuf_split_max

From
Olamide Caleb Bello <belkid98@gmail.com>
Date
Oct 15, 2025, 02:19 UTC
Message-ID
<cover.1760490943.git.belkid98@gmail.com>

The array of strbufs that calls to strbuf_split_max provides are merely used to store the list of tokens gotten from the split and no edit are done on these resulting splits making the strbuf_split_max unideal for this usecase.

This patchset replaces these instances with the modern string_list_split
Olamide Caleb Bello (2):
  gpg-interface: replace strbuf_split with string_list_split
  gpg-interface: use string_list_split instead of strbuf_split
 gpg-interface.c | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)
-- 
2.51.0.463.g79cf913ea9
Next: Olamide Caleb Bello
Message 1 of 9 in “[Outreachy] gpg-interface.c: use string_list_split instead of strbuf_split_max”
  1. 0/2 [Outreachy] gpg-interface.c: use string_list_split instead of strbuf_split_maxOlamide Caleb Bello, Oct 15, 2025
  2. 1/2 [Outreachy] gpg-interface: replace strbuf_split with string_list_splitOlamide Caleb Bello, Oct 15, 2025
  3. Christian CouderOct 15, 2025
  4. Bello OlamideOct 15, 2025
  5. 2/2 [Outreachy] gpg-interface: use string_list_split instead of strbuf_splitOlamide Caleb Bello, Oct 15, 2025
  6. Christian CouderOct 15, 2025
  7. Bello OlamideOct 15, 2025
  8. Christian CouderOct 15, 2025
  9. Bello OlamideOct 15, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.