fix problem with completing filenames with user-supplied double quotes containing word expansion characters; fix problem with printf %S and precision overflow; fix issue with %P in TIMEFORMAT when timing null commands in posix mode; fix problem with SIGINT while parsing command substitutions

This commit is contained in:
Chet Ramey
2025-10-01 11:14:27 -04:00
parent fbd078be0a
commit 4f536430e4
10 changed files with 80 additions and 18 deletions
+2 -1
View File
@@ -167,7 +167,8 @@ ${THIS_SH} -c 'VAR=0; VAR=1 command exec; exit ${VAR}'
exec /var/empty/nosuch
echo bad
) 2>/dev/null
[ $? = 127 ] || echo FAIL: bad exit status $? at $LINENO
r=$?
[ $r = 127 ] || echo FAIL: bad exit status $r at $LINENO
unset FALSE
if [ -x /bin/false ]; then