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

Re: [PATCH] exec_cmd: RUNTIME_PREFIX on OpenBSD systems

From
Chris Torek <chris.torek@gmail.com>
Date
Sep 21, 2026, 13:00 UTC
Message-ID
<CAPx1Gvco17vf-rmQsqumLdX8Gcjnu0Qx=e7_PdFw0p7BDRLU7Q@mail.gmail.com>
In-Reply-To
<1789994808-30642-mlmmj-3f9f948b@vger.kernel.org>
[Ugh, somehow plain text mode got turned off, re-sending]
On Wed, Sep 16, 2026 at 8:41 PM Brad Smith <brad@comstyle.com> wrote:
Show 14 quoted lines
>
> @@ -209,6 +229,10 @@ static int git_get_exec_path(struct strbuf *buf, const char *argv0)
>          * after the first successful method.
>          */
>         if (
> +#ifdef HAVE_GETEXECPATH
> +               git_get_exec_path_getexecpath(buf) &&
> +#endif /* HAVE_GETEXECPATH */
> +
>  #ifdef HAVE_BSD_KERN_PROC_SYSCTL
>                 git_get_exec_path_bsd_sysctl(buf) &&
>  #endif /* HAVE_BSD_KERN_PROC_SYSCTL */
> --
> 2.55.0

Sort of a minor nit, but given this code construct, there should probably be instructions saying to define only one of these.

Chris
Next: Johannes Sixt
Message 1 of 3 in “Re: [PATCH] exec_cmd: RUNTIME_PREFIX on OpenBSD systems”
  1. Chris TorekSep 21, 2026
  2. Johannes SixtSep 21, 2026
  3. Chris TorekSep 22, 2026

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.