summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2019-08-09 05:02:20 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2019-08-09 05:02:20 +0000
commitaca55e4ba13da7cf9ed306ea9b45021eaf6d208a (patch)
tree17ca7659e993905518ed77efbc2f56587a30de47
parent487feb1194bfc08527a8c5e35228cbe34d776b7b (diff)
Move the "data object size changes" into the "Dynamic export changes"
section for consistency based on diff from jca@
-rwxr-xr-xlib/check_sym7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/check_sym b/lib/check_sym
index d75735d2603..8d18af7e686 100755
--- a/lib/check_sym
+++ b/lib/check_sym
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: check_sym,v 1.7 2019/08/07 21:31:03 guenther Exp $
+# $OpenBSD: check_sym,v 1.8 2019/08/09 05:02:19 guenther Exp $
#
# Copyright (c) 2016,2019 Philip Guenther <guenther@openbsd.org>
#
@@ -268,7 +268,7 @@ do
done
echo "$old --> $new"
-if cmp -s /tmp/d[12]
+if cmp -s /tmp/d[12] && cmp -s /tmp/DO[12]
then
printf "No dynamic export changes\n"
else
@@ -277,8 +277,9 @@ else
output_if_not_empty "removed:" comm -23 /tmp/D[12]
output_if_not_empty "weakened:" comm -12 /tmp/DS1 /tmp/DW2
output_if_not_empty "strengthened:" comm -12 /tmp/DW1 /tmp/DS2
+ output_if_not_empty "data object sizes changes:" \
+ data_sym_changes /tmp/DO[12]
fi
-output_if_not_empty "Data object size changes:" data_sym_changes /tmp/DO[12]
if ! cmp -s /tmp/U[12]
then
printf "External reference changes:\n"