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

Re: [PATCH] Update cygwin.c for new mingw-64 win32 api headers

From
Jeff King <peff@peff.net>
Date
Nov 12, 2012, 21:43 UTC
Message-ID
<20121112214352.GB10531@sigill.intra.peff.net>
In-Reply-To
<CAK2bgnXLnKmnVwzE5U_1qZueUdj-QaT23f-iFmhJyRto3tWnhA@mail.gmail.com>
On Mon, Nov 12, 2012 at 04:39:39PM -0500, Mark Levedahl wrote:
Show 21 quoted lines
> >> diff --git a/Makefile b/Makefile
> >> index f69979e..1cc5d96 100644
> >> --- a/Makefile
> >> +++ b/Makefile
> >> @@ -1082,6 +1082,7 @@ ifeq ($(uname_O),Cygwin)
> >>               NO_SYMLINK_HEAD = YesPlease
> >>               NO_IPV6 = YesPlease
> >>               OLD_ICONV = UnfortunatelyYes
> >> +             V15_MINGW_HEADERS = YesPlease
> >>       endif
> >
> > The "if" part of the conditional that did not make it into the context
> > above is an expr match for "1.6.*" From the name, I would think that we
> > would want to use these headers on cygwin 1.5.* , too. Is v1.5 too old
> > to care about now?
> 
> The opening if expression is:
>     ifeq ($(shell expr "$(uname_R)" : '1\.[1-6]\.'),4)
> which I believe matches any version below 1.7. 1.5 is what is released
> opensource, 1.6 is (or was) available as a supported product from
> redhat. So, I think the stanza is ok as is.

Oh, right, I'm an idiot. I read the patch, thought "gee, I wonder what that conditional just outside the context is", looked it up, then promptly misremembered exactly what it said when writing the rest of my email.

Yes, what you have is absolutely right. Sorry for the noise.
-Peff
Previous: Mark Levedahl
Message 4 of 4 in “Update cygwin.c for new mingw-64 win32 api headers”
  1. Update cygwin.c for new mingw-64 win32 api headersMark Levedahl, Nov 12, 2012
  2. Jeff KingNov 12, 2012
  3. Mark LevedahlNov 12, 2012
  4. Jeff KingNov 12, 2012

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.