2002-01-04 Christopher Faylor <cgf@redhat.com>
+ * cygmagic: Change logic for equality test.
+
+2002-01-04 Christopher Faylor <cgf@redhat.com>
+
* dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT.
2001-01-04 Corinna Vinschen <corinna@vinschen.de>
sum=`$gcc -E $file | sed -n "/^$struct/,/^};/p" | sed -e 's/[ ]//g' -e '/^$/d' | sum | awk '{printf "0x%x", $1}'`
echo "#define $define $sum"
curr=`sed -n "s/^#[ ]*define CURR_$define[ ][ ]*\([^ ][^ ]*\)/\1/p" $file`
- [ "$curr" == "$sum" ] || echo "*** WARNING WARNING WARNING WARNING WARNING ***
+ [ "$curr" != "$sum" ] && echo "*** WARNING WARNING WARNING WARNING WARNING ***
*** $file: magic number for $define changed old $curr != new $sum
*** WARNING WARNING WARNING WARNING WARNING ***" 1>&2
done >> $file_magic