This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH roland/env-only] Avoid re-exec-self in bug-setlocale1.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Fri, 6 Mar 2015 11:00:10 -0800 (PST)
- Subject: Re: [PATCH roland/env-only] Avoid re-exec-self in bug-setlocale1.
- Authentication-results: sourceware.org; auth=none
- References: <20150304212323 dot 43B2E2C3B7B at topped-with-meat dot com> <alpine dot DEB dot 2 dot 10 dot 1503061830170 dot 24477 at digraph dot polyomino dot org dot uk>
> Needs documenting in install.texi / INSTALL, where it describes how
> test-wrapper-env must be set if $(test-wrapper) env isn't sufficient.
Thanks for the reminder. I've committed this.
Thanks,
Roland
2015-03-06 Roland McGrath <roland@hack.frob.com>
* manual/install.texi (Configuring and compiling):
Document test-wrapper-env-only.
* INSTALL: Regenerated.
--- a/INSTALL
+++ b/INSTALL
@@ -254,7 +254,12 @@ program that runs a newly built program with environment variable
assignments in effect, those assignments being specified as 'VAR=VALUE'
before the name of the program to be run. If multiple assignments to
the same variable are specified, the last assignment specified must take
-precedence.
+precedence. Similarly, if 'TEST-WRAPPER env -i' will not work to run a
+program with an environment completely empty of variables except those
+directly assigned, then 'test-wrapper-env-only' must be set; its use has
+the same syntax as 'test-wrapper-env', the only difference in its
+semantics being starting with an empty set of environment variables
+rather than the ambient set.
Installing the C Library
========================
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -283,14 +283,19 @@ In general, when testing @theglibc{}, @samp{test-wrapper} may be set
to the name and arguments of any program to run newly built binaries.
This program must preserve the arguments to the binary being run, its
working directory and the standard input, output and error file
-descriptors. If
-@samp{@var{test-wrapper} env} will not work to run a program with
-environment variables set, then @samp{test-wrapper-env} must be set to
-a program that runs a newly built program with environment variable
-assignments in effect, those assignments being specified as
-@samp{@var{var}=@var{value}} before the name of the program to be
-run. If multiple assignments to the same variable are specified,
-the last assignment specified must take precedence.
+descriptors. If @samp{@var{test-wrapper} env} will not work to run a
+program with environment variables set, then @samp{test-wrapper-env}
+must be set to a program that runs a newly built program with
+environment variable assignments in effect, those assignments being
+specified as @samp{@var{var}=@var{value}} before the name of the
+program to be run. If multiple assignments to the same variable are
+specified, the last assignment specified must take precedence.
+Similarly, if @samp{@var{test-wrapper} env -i} will not work to run a
+program with an environment completely empty of variables except those
+directly assigned, then @samp{test-wrapper-env-only} must be set; its
+use has the same syntax as @samp{test-wrapper-env}, the only
+difference in its semantics being starting with an empty set of
+environment variables rather than the ambient set.
@node Running make install