From d7226387a9fb07ec3de3913f8128a31ba95deeb2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 20 Feb 2007 17:23:51 +0100 Subject: * src/env.c (main): When invoked with no arguments (i.e. when printing the environment), use a local variable to iterate through the global "environ" array, rather than "environ" itself. This is solely to avoid changing the environment for an LD_PRELOAD-substituted "puts" or "exit" function. Tiny patch by Harvey Eneman. See . * THANKS: Update. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5de232556..9df052e17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2007-02-20 Jim Meyering + * src/env.c (main): When invoked with no arguments (i.e. when printing + the environment), use a local variable to iterate through the global + "environ" array, rather than "environ" itself. This is solely to + avoid changing the environment for an LD_PRELOAD-substituted "puts" + or "exit" function. Tiny patch by Harvey Eneman. See + . + * THANKS: Update. + * bootstrap: Move definitions of temporary directory names and the new bt_regex "up" to precede all uses, so it's clearer what their scope is. Also, use [.], rather than \\., since the former works -- cgit v1.2.3-54-g00ecf