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

Re: [BUG] daemon.c blows up on OSX

From
ACAlbert Cahalan <acahalan@gmail.com>
Date
Dec 21, 2006, 02:52 UTC
Message-ID
<787b0d920612201852u62bb43ebs82d9129a849b0e50@mail.gmail.com>
Linus Torvalds writes:
Show 6 quoted lines
> So it would appear that for OS X, the
>
>       #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
>       #define _GNU_SOURCE
>       #define _BSD_SOURCE
> sequence actually _disables_ those things.
Yes, of course. The odd one here is glibc.

Normal systems enable everything by default. As soon as you specify a feature define, you get ONLY what you asked for. I'm not sure why glibc is broken, but I suspect that somebody wants to make everyone declare their code to be GNU source. (despite many "GNU" things not working on the HURD at all)

Define _APPLE_C_SOURCE to make MacOS X give you everything.
Message 1 of 1 in “Re: [BUG] daemon.c blows up on OSX”
  1. Albert CahalanDec 21, 2006

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.