[padb-devel] [padb] r262 committed - Allow multiple entries in the same range in rng_add_value().
codesite-noreply at google.com
codesite-noreply at google.com
Tue Sep 15 21:22:45 BST 2009
Revision: 262
Author: apittman
Date: Tue Sep 15 13:22:07 2009
Log: Allow multiple entries in the same range in rng_add_value().
http://code.google.com/p/padb/source/detail?r=262
Modified:
/branches/3.0/src/padb
=======================================
--- /branches/3.0/src/padb Tue Sep 15 13:02:04 2009
+++ /branches/3.0/src/padb Tue Sep 15 13:22:07 2009
@@ -3907,6 +3907,7 @@
return $value;
}
+# Accept duplicate values in this function.
sub rng_add_value {
my ( $rg, $value ) = @_;
@@ -3948,7 +3949,6 @@
}
return;
} elsif ( $value >= $part->{l} and $value <= $part->{u} ) {
- carp("Failed to add value to range (Value already in range)");
return;
}
$idx++;
More information about the padb-devel
mailing list