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

Re: [PATCH] autoconf: Add test for sys/select.h header file

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 26, 2008, 06:25 UTC
Message-ID
<7v8x2d3xya.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1201259981-7115-1-git-send-email-jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
Show 14 quoted lines
> Some systems like HP-UX don't have sys/select.h; the select stuff
> is already present in some other headef file (e.g. sys/time.h for
> HP-UX).
>
> Companion to
>   "some systems don't have (and need) sys/select.h"
>
> Signed-off-by: Jakub Narebski <jnareb@gmail.com>
> ---
> It could be alternately just squashed together with
> "some systems don't have (and need) sys/select.h" by Robert Schiele.
>
> Robert, could you please check this patch on HP-UX? It does work
> correctly on Linux (which has sys/select.h).

The issue is not really about "do we have <sys/select.h>?" but is about "do we need to include <sys/select.h> in order to obtain declaration of select(2)?" so this is covering only a half of the issue. But I guess we will find out if the system does not offer select(2) whether <sys/select.h> is included or not, so this is not too bad.

Will apply. I do not think it would have problems but even if it does it is small and easy to revert before the final.

Thanks.
Previous: Robert SchieleNext: Robert Schiele
Message 8 of 9 in “some systems don't have (and need) sys/select.h”
  1. some systems don't have (and need) sys/select.hRobert Schiele, Jan 24, 2008
  2. Johannes SchindelinJan 24, 2008
  3. Junio C HamanoJan 24, 2008
  4. Robert SchieleJan 24, 2008
  5. autoconf: Add test for sys/select.h header fileJakub Narebski, Jan 25, 2008
  6. Johannes SchindelinJan 25, 2008
  7. Robert SchieleJan 25, 2008
  8. Junio C HamanoJan 26, 2008
  9. Robert SchieleJan 26, 2008

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.