aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-11 07:22:02 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-11 07:22:02 +0000
commitb14395dea54e5debcc32f21ffdcb443aef399513 (patch)
tree93ab8159bc9235c01a848387ed3c735fbec9720c /io
parent073a39d614ec893159879f0b52179816cb1a5763 (diff)
downloadglibc-b14395dea54e5debcc32f21ffdcb443aef399513.zip
glibc-b14395dea54e5debcc32f21ffdcb443aef399513.tar.gz
glibc-b14395dea54e5debcc32f21ffdcb443aef399513.tar.bz2
Update.
2003-11-10 Carlos O'Donell <carlos@baldric.uwo.ca> * io/ftwtest-sh: Fix nested sed commands. 2003-11-10 Jakub Jelinek <jakub@redhat.com> * posix/regex_internal.h (re_string_char_size_at): Don't look beyond valid_len wide chars.
Diffstat (limited to 'io')
-rw-r--r--io/ftwtest-sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/ftwtest-sh b/io/ftwtest-sh
index 2fed2ed..dc495d5 100644
--- a/io/ftwtest-sh
+++ b/io/ftwtest-sh
@@ -231,7 +231,7 @@ LD_LIBRARY_PATH=$objpfx $ldso $testprogram --skip-siblings=lvl1 $tmpdir |
# If lvl1b comes after lvl1, it shouldn't be printed, while if it
# comes before, it should.
catcmd=cat
-[ -n "`ls -U $tmpdir/foo/ | sed -n '/lvl1$/,${/lvl1b$/p}'`" ] \
+[ -n "`ls -U $tmpdir/foo/ | sed -n '/lvl1$/,${/lvl1b$/p;}'`" ] \
&& catcmd="grep -v lvl1b"
$catcmd <<EOF | diff -u $testout - || exit 1
@@ -255,7 +255,7 @@ LD_LIBRARY_PATH=$objpfx $ldso $testprogram --skip-siblings=file@1b $tmpdir |
# If file[23]@1b come after file@1b, it shouldn't be printed, while if they
# come before, they should.
regexp=`echo $(ls -U /tmp/ftwtest.d/foo/lvl1b \
- | sed -n '/file@1b$/,${/file[23]@1b$/p}') | sed 's, ,|,'`
+ | sed -n '/file@1b$/,${/file[23]@1b$/p;}') | sed 's, ,|,'`
catcmd=cat
[ -n "$regexp" ] && catcmd="egrep -v $regexp"