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

Re: [PATCH 2/2] Include unistd.h.

From
MDMarkus Duft <mduft@gentoo.org>
Date
May 30, 2011, 06:51 UTC
Message-ID
<4DE33E55.6090505@gentoo.org>
In-Reply-To
<20110526163921.GD24931@elie>
On 05/26/11 18:39, Jonathan Nieder wrote:
Show 15 quoted lines
> Junio C Hamano wrote:
> 
>> --- a/compat/fnmatch/fnmatch.c
>> +++ b/compat/fnmatch/fnmatch.c
>> @@ -127,6 +127,10 @@ extern char *getenv ();
>>  extern int errno;
>>  # endif
>> +
>> +# ifndef NULL
>> +#  define NULL 0
>> +# endif
> 
> Makes a lot of sense.  This fits well with the style of the rest of
> the file and other projects using glibc fnmatch could reuse the fix
> even if targeting ancient platforms.
I tested, and it works well on interix. Will you commit, or should i prepare a patch?

Thanks Markus

Previous: Jonathan NiederNext: Markus Duft
Message 14 of 18 in “Interix catch-ups for recent changes/releases.”
  1. Interix catch-ups for recent changes/releases.mduft@gentoo.org, May 25, 2011
  2. 1/2 Add additional build options for Interix, and remove obsolete ones.mduft@gentoo.org, May 25, 2011
  3. Junio C HamanoMay 25, 2011
  4. Markus DuftMay 26, 2011
  5. Junio C HamanoMay 26, 2011
  6. 2/2 Include unistd.h.mduft@gentoo.org, May 25, 2011
  7. Junio C HamanoMay 25, 2011
  8. Tor ArntsenMay 25, 2011
  9. Junio C HamanoMay 25, 2011
  10. Erik Faye-LundMay 25, 2011
  11. Jonathan NiederMay 26, 2011
  12. Junio C HamanoMay 26, 2011
  13. Jonathan NiederMay 26, 2011
  14. Markus DuftMay 30, 2011
  15. Markus DuftJun 15, 2011
  16. Jonathan NiederJun 15, 2011
  17. Update the Interix default build configuration.mduft@gentoo.org, Jun 15, 2011
  18. Markus DuftMay 27, 2011

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.