This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".
The branch, master has been updated
via 77d5ea7a6fcbf8cb1789b60522a2cecab36c73cd (commit)
from 4088071c2f55192e81dc77e64c28672d7313bbba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=77d5ea7a6fcbf8cb1789b60522a2cecab36c73cd
commit 77d5ea7a6fcbf8cb1789b60522a2cecab36c73cd
Author: Mats Erik Andersson <[email protected]>
Date: Tue Nov 29 13:11:55 2011 +0100
make_ip_del.pl: Arithmetic on 64-bit systems.
diff --git a/ChangeLog b/ChangeLog
index 5449692..b58ce2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-29 Mats Erik Andersson <[email protected]>
+
+ * whois/make_ip_del.pl: Compute netmasks correctly
+ also with 64-bit arithmetic.
+
2011-11-26 Mats Erik Andersson <[email protected]>
* tests/tftp.sh: Return skip code if INET port is already in use.
diff --git a/whois/make_ip_del.pl b/whois/make_ip_del.pl
index cd98cf1..89ffaa5 100755
--- a/whois/make_ip_del.pl
+++ b/whois/make_ip_del.pl
@@ -29,7 +29,7 @@ while (<>) {
my $m=$2; my $s=$3;
my ($i1, $i2, $i3, $i4)=split(/\./, $1);
print "{ ".(($i1<<24)+($i2<<16)+($i3<<8)+$i4)."UL, ".
- (~(0xffffffff>>$m))."UL, \"";
+ (0xffffffff^(0xffffffff>>$m))."UL, \"";
if ($s =~ /\./) {
print "$s";
} else {
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
whois/make_ip_del.pl | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU Inetutils
_______________________________________________
Commit-inetutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/commit-inetutils