mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 18:00:49 +02:00
updated translations; back out change allowing quoted characters and process substitution words in function names; rework readline change for GNU Hurd and ncurses
This commit is contained in:
+7
-5
@@ -60,12 +60,14 @@ rm -f x.sh x.output
|
||||
cat << \EOF > x.sh
|
||||
argmax=$(getconf ARG_MAX 2>/dev/null)
|
||||
if (( argmax <= 0 )); then
|
||||
argmax=1048576
|
||||
echo "exec3.sub: getconf ARG_MAX failed, skipping E2BIG test" >&2
|
||||
exit 1
|
||||
fi
|
||||
v=$(echo {1..250000})
|
||||
while (( ${#v} < $argmax )); do
|
||||
v+=$(echo {250001..350000})
|
||||
done
|
||||
if (( argmax > (2**31) )); then
|
||||
echo "exec3.sub: ARG_MAX too large: $argmax, skipping E2BIG test" >&2
|
||||
exit 0
|
||||
fi
|
||||
printf -v v %.*u "$argmax" 0
|
||||
export v
|
||||
exec ${THIS_SH} </dev/null
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user