{"thread":{"id":"6040","subject":"Re: [BUG] daemon.c blows up on OSX","startedAt":"2006-12-21T02:52:09Z","lastAt":"2006-12-21T02:52:09Z","messageCount":1,"participants":["Albert Cahalan"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"29892","messageId":"787b0d920612201852u62bb43ebs82d9129a849b0e50@mail.gmail.com","threadId":"6040","inReplyTo":null,"subject":"Re: [BUG] daemon.c blows up on OSX","fromName":"Albert Cahalan","fromEmail":"acahalan@gmail.com","sentAt":"2006-12-21T02:52:09Z","receivedAt":"2006-12-21T02:52:09Z","isPatch":false,"sender":{"key":"acahalan@gmail.com","avatar":null},"body":"Linus Torvalds writes:\n\n> So it would appear that for OS X, the\n>\n>       #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */\n>       #define _GNU_SOURCE\n>       #define _BSD_SOURCE\n> sequence actually _disables_ those things.\n\nYes, of course. The odd one here is glibc.\n\nNormal systems enable everything by default. As soon as you\nspecify a feature define, you get ONLY what you asked for.\nI'm not sure why glibc is broken, but I suspect that somebody\nwants to make everyone declare their code to be GNU source.\n(despite many \"GNU\" things not working on the HURD at all)\n\nDefine _APPLE_C_SOURCE to make MacOS X give you everything.\n"}]}