aboutsummaryrefslogtreecommitdiff
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
parent073a39d614ec893159879f0b52179816cb1a5763 (diff)
downloadglibc-b14395dea54e5debcc32f21ffdcb443aef399513.tar
glibc-b14395dea54e5debcc32f21ffdcb443aef399513.tar.gz
glibc-b14395dea54e5debcc32f21ffdcb443aef399513.tar.bz2
glibc-b14395dea54e5debcc32f21ffdcb443aef399513.zip
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.
-rw-r--r--ChangeLog9
-rw-r--r--io/ftwtest-sh4
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9880e547b0..220de4279c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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.
+
2003-11-09 Roland McGrath <roland@redhat.com>
* manual/examples/dir2.c (one): Add const to argument type.
diff --git a/io/ftwtest-sh b/io/ftwtest-sh
index 2fed2edcfa..dc495d5dba 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"