commit bash-20041216 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:41:18 -05:00
parent 8fed35894b
commit da713c2366
15 changed files with 158 additions and 49 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
BUILD_DIR=/usr/local/build/chet/bash/bash-current
BUILD_DIR=/usr/local/build/bash/bash-current
THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR
+9
View File
@@ -0,0 +1,9 @@
BUILD_DIR=/usr/local/build/bash/bash-20041216-gprof
THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR
export THIS_SH PATH
rm -f /tmp/xx
/bin/sh "$@"
+9
View File
@@ -0,0 +1,9 @@
BUILD_DIR=/usr/local/build/bash/bash-current
THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR
export THIS_SH PATH
rm -f /tmp/xx
/bin/sh "$@"
+1 -2
View File
@@ -374,7 +374,7 @@ echo "${x[@]}"
mkdir $TMPDIR/bash-test-$$
cd $TMPDIR/bash-test-$$
trap "cd / ; rm -rf $TMPDIR/bash-test/$$" 0 1 2 3 6 15
trap "cd / ; rm -rf $TMPDIR/bash-test-$$" 0 1 2 3 6 15
touch '[3]=abcde'
@@ -396,4 +396,3 @@ unset x[2]
x[9]='9'
echo ${x[*]: -1}
+5 -2
View File
@@ -236,7 +236,12 @@ echo "value = ${barray[*]}"
set -u
( echo ${#narray[4]} )
${THIS_SH} ./array1.sub
${THIS_SH} ./array2.sub
# some old bugs and ksh93 compatibility tests
${THIS_SH} ./array3.sub
set +u
cd /tmp
@@ -392,5 +397,3 @@ x[9]='9'
echo ${x[*]: -1}
${THIS_SH} ./array1.sub
${THIS_SH} ./array2.sub
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,4 +1,4 @@
LANG=en_US.UTF-8
export LANG=en_US.UTF-8
a=$'\303\251'
+2 -2
View File
@@ -21,8 +21,8 @@ a=$(printf '%b' 'A\303\251B')
IFS=$(printf '%b' '\303\251')
case "$a" in
"A${IFS}B") echo yes ;;
*) echo no ;;
"A${IFS}B") echo ok 1 ;;
*) echo bad 1 ;;
esac
set $a
+3 -3
View File
@@ -15,8 +15,8 @@ shopt -s extquote
shopt -u failglob
shopt -s force_fignore
shopt -u gnu_errfmt
shopt -u histreedit
shopt -u histappend
shopt -u histreedit
shopt -u histverify
shopt -s hostcomplete
shopt -u huponexit
@@ -58,8 +58,8 @@ shopt -u extdebug
shopt -u extglob
shopt -u failglob
shopt -u gnu_errfmt
shopt -u histreedit
shopt -u histappend
shopt -u histreedit
shopt -u histverify
shopt -u huponexit
shopt -u lithist
@@ -81,8 +81,8 @@ extdebug off
extglob off
failglob off
gnu_errfmt off
histreedit off
histappend off
histreedit off
histverify off
huponexit off
lithist off