On Thu, Mar 07, 2019 at 03:42:49PM +0100, Dr. Werner Fink wrote: > On Mon, Mar 04, 2019 at 09:00:38AM -0500, Chet Ramey wrote: > > On 3/4/19 8:19 AM, wer...@suse.de wrote: > > > > > Bash Version: 5.0 > > > Patch Level: 2 > > > Release Status: release > > > > > > Description: > > > Since patch bash50-001 there is a regession on path expansion. > > > The script example below shows: > > > > > > bash/bash> bash tmp/bug.sh > > > 5.0.2(1)-release > > > drwxr-xr-x 2 nobody root 17 Mar 4 14:08 . > > > > > > bash/bash> /dist/unpacked/sle15-x86_64.full/bin/bash tmp/bug.sh > > > 4.4.23(1)-release > > > -rw-r--r-- 1 nobody root 0 Mar 4 14:10 > > > /tmp/bugthroughpatch001/hidden/foo/bar > > > > > > Disabling patch bash50-001 solves this problem but cause > > > other problems. It seems as seen by strace and ltrace that > > > the bash with patch bash50-001 now makes a stat(2) on every > > > single part of the path and run onto EACCES error which cause > > > the regression above. > > > > http://lists.gnu.org/archive/html/bug-bash/2019-02/msg00151.html > > > > There is a slightly updated version of that patch attached to this message. > > OK ... the hidden directories do work now ... but in the test suite > of sed the test case sed-4.7/testsuite/subst-mb-incomplete.sh with > > print_ver_ sed > > require_en_utf8_locale_ > > echo > in || framework_failure_ > printf '\233\375\200\n' > exp-out || framework_failure_ > > LC_ALL=en_US.utf8 sed $(printf 's/^/\\L\233\375\\\200/') in > out 2> err > > compare exp-out out || fail=1 > compare /dev/null err || fail=1 > > Exit $fail > > does fail (YaOB).
This is the resulting log file from the testsuite --- exp-out 2019-03-07 16:29:24.554957850 +0000 +++ out 2019-03-07 16:29:24.558957897 +0000 @@ -1 +1 @@ -�375200 +L�375200 FAIL testsuite/subst-mb-incomplete.sh (exit status: 1) -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
signature.asc
Description: PGP signature