1 https://savannah.gnu.org/bugs/?30612
2 https://savannah.gnu.org/bugs/?30723
3 https://savannah.gnu.org/bugs/?31743 (no longer visible)
5 --- main.c 2010-07-19 14:10:53.000000000 +0700
6 +++ main.c 2011-01-12 21:31:30.114891591 +0700
9 /* Argument parsing and main program of GNU Make.
10 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
11 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
13 a macro and some compilers (MSVC) don't like conditionals in macros. */
15 const char *features = "target-specific order-only second-expansion"
16 - " else-if shortest-stem undefine"
17 + " else-if shortest-stem undefine oneshell"
22 const char *pv = define_makeflags (1, 1);
23 char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1);
24 sprintf (p, "MAKEFLAGS=%s", pv);
26 + putenv (allocated_variable_expand (p));
30 --- read.c 2010-07-13 08:20:42.000000000 +0700
31 +++ read.c 2011-01-12 21:31:23.497486028 +0700
34 /* This looks like the first element in an open archive group.
35 A valid group MUST have ')' as the last character. */
36 - const char *e = p + nlen;
41 @@ -3084,19 +3084,19 @@
42 Go to the next item in the string. */
43 if (flags & PARSEFS_NOGLOB)
45 - NEWELT (concat (2, prefix, tp));
46 + NEWELT (concat (2, prefix, tmpbuf));
50 /* If we get here we know we're doing glob expansion.
51 TP is a string in tmpbuf. NLEN is no longer used.
52 We may need to do more work: after this NAME will be set. */
56 /* Expand tilde if applicable. */
58 + if (tmpbuf[0] == '~')
60 - tildep = tilde_expand (tp);
61 + tildep = tilde_expand (tmpbuf);
65 @@ -3152,7 +3152,11 @@
68 /* We got a chain of items. Attach them. */
69 - (*newp)->next = found;
71 + (*newp)->next = found;
76 /* Find and set the new end. Massage names if necessary. */
78 --- read.c 2010/11/06 21:56:24 1.195
79 +++ read.c 2010/11/30 14:48:53 1.196
81 int len = strlen(v->name);
83 gv = lookup_variable (v->name, len);
84 - if (gv && (gv->origin == o_env_override || gv->origin == o_command))
86 + && (gv->origin == o_env_override || gv->origin == o_command))