Revert to 'env'-based get_params()

This commit is contained in:
Tom Eastep 2010-12-01 10:48:20 -08:00
parent d0e37eba5e
commit a67364c07d
3 changed files with 3 additions and 3 deletions

View File

@ -2906,7 +2906,7 @@ sub get_params() {
fatal_error "Processing of $fn failed" if $?;
for ( @params ) {
if ( /^export (.*?)='(.*)'$/ ) {
if ( /^(.*?)=(.*)$/ ) {
$params{$1} = $2 unless $1 eq '_';
}
}

View File

@ -32,4 +32,4 @@ set -a
set +a
export -p
env

View File

@ -17,7 +17,7 @@ VI. PROBLEMS CORRECTED AND NEW FEATURES IN PRIOR RELEASES
1) If the output of 'env' contained a multi-line value, then
compilation failed with an Internal Error. The code has been
changed to ignore exported symbols with multi-line values.
changed to ignore all but the first line of a multi-line value.
4.4.15