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

Re: [PATCH] comment for a long #ifdef

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Apr 4, 2016, 01:54 UTC
Message-ID
<CAPig+cS=oGvs3zWA782APy7moo3N-4-Oe9B8obej5oWKxw9Gsg@mail.gmail.com>
In-Reply-To
<5701BCC1.9050306@mail.mipt.ru>
On Sun, Apr 3, 2016 at 9:00 PM, Ivan Pozdeev <vano@mail.mipt.ru> wrote:
> ---
Missing sign-off. See Documentation/SubmittingPatches.
Show 23 quoted lines
> compat/poll/poll.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/compat/poll/poll.c b/compat/poll/poll.c
> index db4e03e..5eb0280 100644
> --- a/compat/poll/poll.c
> +++ b/compat/poll/poll.c
> @@ -441,7 +441,7 @@ poll (struct pollfd *pfd, nfds_t nfd, int timeout)
> }
>
> return rc;
> -#else
> +#else /* #ifndef WIN32_NATIVE */
> static struct timeval tv0;
> static HANDLE hEvent;
> WSANETWORKEVENTS ev;
> @@ -622,5 +622,5 @@ restart:
> }
>
> return rc;
> -#endif
> +#endif /* #ifndef WIN32_NATIVE */
> }
Previous: Ivan PozdeevNext: Ivan Pozdeev
Message 2 of 4 in “comment for a long #ifdef”
  1. comment for a long #ifdefIvan Pozdeev, Apr 4, 2016
  2. Eric SunshineApr 4, 2016
  3. Ivan PozdeevApr 4, 2016
  4. Junio C HamanoApr 4, 2016

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.