bind9/bin
Michał Kępień 7c14f67d74 Only use LC_ALL=C where intended
The LC_ALL=C assignments in the "idna" system test, which were only
meant to affect a certain subset of checks, in fact persist throughout
all the subsequent checks in that system test.  That affects the test's
behavior and is misleading.

When the "VARIABLE=value command ..." syntax is used in a shell script,
in order for the variable assignment to only apply to "command", the
latter must be an external binary; otherwise, the VARIABLE=value
assignment persists for all subsequent commands in a script:

    $ cat foo.sh
    #!/bin/sh

    foo() {
        /bin/sh bar.sh
    }

    BAR="baz0"
    BAR="baz1" /bin/sh bar.sh
    echo "foo: BAR=${BAR}"
    BAR="baz2" foo
    echo "foo: BAR=${BAR}"

    $ cat bar.sh
    #!/bin/sh

    echo "bar: BAR=${BAR}"

    $ /bin/sh foo.sh
    bar: BAR=baz1
    foo: BAR=baz0
    bar: BAR=baz2
    foo: BAR=baz2
    $

Fix by saving the value of LC_ALL before the relevant set of checks in
the "idna" system test, restoring it afterwards, and dropping the
"LC_ALL=C command ..." syntax.

(cherry picked from commit 2ee7ff23ce)
2019-12-10 11:57:57 +01:00
..
check Fix hang in named-compilezone | head 2019-10-30 10:52:22 +11:00
confgen Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
delv alphabetise delv's usage. 2019-11-23 00:09:29 +11:00
dig Replace RUNTIME_CHECK(dns_name_copy(..., NULL)) with dns_name_copynf() 2019-10-04 14:08:26 +10:00
dnssec alphabetize command line switch 2019-11-19 20:44:21 +11:00
named Move xmlInitThreads()/xmlCleanupThreads() calls 2019-12-02 17:09:39 +01:00
nsupdate Replace RUNTIME_CHECK(dns_name_copy(..., NULL)) with dns_name_copynf() 2019-10-04 14:08:26 +10:00
pkcs11 Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
plugins add a search for GeoIP2 libraries in configure 2019-06-27 16:25:28 -07:00
python explicitly convert byte to string 2019-03-06 20:41:09 -08:00
rndc Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
tests Only use LC_ALL=C where intended 2019-12-10 11:57:57 +01:00
tools Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
win32/BINDInstall Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
Makefile.in name change from "hook modules" to "plugins" 2018-12-06 10:36:50 -08:00