{"thread":{"id":"43766","subject":"Re: [BUG] daemon.c blows up on OSX","startedAt":"2006-12-21T00:56:57Z","lastAt":"2006-12-21T00:56:57Z","messageCount":1,"participants":["Brian Gernhardt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"298278","messageId":"923634DE-0F3E-4A96-BC37-CB7E25C7251B@silverinsanity.com","threadId":"43766","inReplyTo":null,"subject":"Re: [BUG] daemon.c blows up on OSX","fromName":"Brian Gernhardt","fromEmail":"benji@silverinsanity.com","sentAt":"2006-12-21T00:56:57Z","receivedAt":"2006-12-21T00:56:57Z","isPatch":false,"sender":{"key":"benji@silverinsanity.com","avatar":"https://gravatar.com/avatar/e06c101dbc25c68114d859b4a9ec7cf8a2c52fd2b0270ef0eac0e2e63ff22311?d=mp&s=160"},"body":"(I originally forgot to send this to the list.  Oops.  Difference  \nbetween \"Reply\" and \"Reply All\" is small, but important.)\n\nOn Dec 20, 2006, at 7:44 PM, Junio C Hamano wrote:\n\n> Does everybody use Apple CC on OSX?  Is the symbol defined even\n> with GCC?  Or Gcc fixes headers well enough and makes this a\n> non-issue?\n\nApple CC == gcc, as far as I can tell.  And the definition of  \n_POSIX_C_SOURCE, which seems to disable too much stuff, is in /usr/ \ninclude/sys/cdefs.h:\n\n/* Deal with various X/Open Portability Guides and Single UNIX Spec. */\n#ifdef _XOPEN_SOURCE\n#if _XOPEN_SOURCE - 0L >= 600L\n#undef _POSIX_C_SOURCE\n#define _POSIX_C_SOURCE     200112L\n#elif _XOPEN_SOURCE - 0L >= 500L\n#undef _POSIX_C_SOURCE\n#define _POSIX_C_SOURCE     199506L\n#endif\n#endif\n\nWhy _POSIX_C_SOURCE disables strncasecmp, I don't know.  It makes me  \nsad.\n\nYours,\n"}]}