diff options
author | Sam James <sam@gentoo.org> | 2022-06-05 12:09:02 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2022-06-05 12:09:02 -0700 |
commit | 7df596a58cdfa763924487b8c275269de3497304 (patch) | |
tree | 7b2762ba7b12c0ed07d63cd14109305af04f4cf8 /sysdeps/ia64 | |
parent | 3c23fa9f44fe88d0851e1344fc37ba60e74cb0fc (diff) | |
download | glibc-7df596a58cdfa763924487b8c275269de3497304.zip glibc-7df596a58cdfa763924487b8c275269de3497304.tar.gz glibc-7df596a58cdfa763924487b8c275269de3497304.tar.bz2 |
grep: egrep -> grep -E, fgrep -> grep -F
Newer versions of GNU grep (after grep 3.7, not inclusive) will warn on
'egrep' and 'fgrep' invocations.
Convert usages within the tree to their expanded non-aliased counterparts
to avoid irritating warnings during ./configure and the test suite.
Signed-off-by: Sam James <sam@gentoo.org>
Reviewed-by: Fangrui Song <maskray@google.com>
Diffstat (limited to 'sysdeps/ia64')
-rw-r--r-- | sysdeps/ia64/fpu/import_check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ia64/fpu/import_check b/sysdeps/ia64/fpu/import_check index 21176f5..4303d2f 100644 --- a/sysdeps/ia64/fpu/import_check +++ b/sysdeps/ia64/fpu/import_check @@ -41,14 +41,14 @@ check_file() { file=$1 size=$(readelf -S $file | \ (sz=0; while read line; do - if echo $line | fgrep -q " .rodata"; then + if echo $line | grep -F -q " .rodata"; then read sz rest break fi done; printf "%d" 0x$sz)) - summands=$(readelf -s $file | fgrep " OBJECT " | tr -s ' ' | + summands=$(readelf -s $file | grep -F " OBJECT " | tr -s ' ' | cut -f4 -d' ' | sed 's,$,+,')0 sum=$(($summands)) if [ $sum != $size ]; then |