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

Re: [PATCH v2] compat: fixes for header handling with OpenBSD / NetBSD

From
Collin Funk <collin.funk1@gmail.com>
Date
Jun 3, 2025, 04:39 UTC
Message-ID
<87sekhqvzr.fsf@gmail.com>
In-Reply-To
<aD52RXZVAsXpimBG@humpty.home.comstyle.com>
Brad Smith <brad@comstyle.com> writes:
Show 14 quoted lines
> Handle OpenBSD and NetBSD as FreeBSD / DragonFly are. OpenBSD would
> need _XOPEN_SOURCE to be set to 700. Its simpler to just not set
> _XOPEN_SOURCE.
>
>     CC strbuf.o
> strbuf.c:645:6: warning: call to undeclared function 'getdelim'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>         r = getdelim(&sb->buf, &sb->alloc, term, fp);
>             ^
> 1 warning generated.
>
> Signed-off-by: Brad Smith <brad@comstyle.com>
> ---
>  compat/posix.h | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
Thanks!
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Collin
Previous: Brad Smith
Message 2 of 2 in “compat: fixes for header handling with OpenBSD / NetBSD”
  1. compat: fixes for header handling with OpenBSD / NetBSDBrad Smith, Jun 3, 2025
  2. Collin FunkJun 3, 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.