Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Chip Salzenberg
Wed, 11 Oct 1989 15:56
GNU Make 3.56: Feature: no variables in environment
Author: Chip Salzenberg
Date: Wed, 11 Oct 1989 15:56
Date: Wed, 11 Oct 1989 15:56
32 lines
1285 bytes
1285 bytes
[FEATURE] Include all variables in child environment only if VARS_IN_ENV is defined. Large variable definitions can swamp a child's environment, resulting in exec() failure with E2BIG. You may want to reverse the #ifdef and make NO_VARS_IN_ENV definable from make's Makefile. Index: variable.c *************** *** 383,389 **** register char *p = v->name; ! if (v->origin == o_default ! || streq (p, "MAKELEVEL")) continue; if (*p != '_' && (*p < 'A' || *p > 'Z') --- 383,395 ---- register char *p = v->name; ! #ifdef VARS_IN_ENV ! if (v->origin == o_default) continue; + #else + if ((v->origin != o_env) && (v->origin != o_env_override)) + continue; + #endif + if (streq (p, "MAKELEVEL")) + continue; if (*p != '_' && (*p < 'A' || *p > 'Z')
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads