Guys:
I plan to check-in the following patch and release 3.0.7:
Index: configure.in
===================================================================
--- configure.in (revision 907)
+++ configure.in (working copy)
@@ -38,10 +38,10 @@
# increment GANGLIA_MAJOR_VERSION and set
# GANGLIA_MINOR_VERSION and GANGLIA_MICRO_VERSION
# to 0 (zero)
-GANGLIA_RELEASE_NAME="Foss"
+GANGLIA_RELEASE_NAME="Fossett"
GANGLIA_MAJOR_VERSION=3
GANGLIA_MINOR_VERSION=0
-GANGLIA_MICRO_VERSION=6
+GANGLIA_MICRO_VERSION=7
# If we are releasing a snapshot (beta), set GANGLIA_SNAPSHOT to "yes"
# If we are creating an official release, set it to "no"
Index: web/functions.php
===================================================================
--- web/functions.php (revision 906)
+++ web/functions.php (working copy)
@@ -421,14 +421,10 @@
}
#-------------------------------------------------------------------------------
-# If arg is entirely numeric, return it. Otherwise, return null.
-function clean_number( $digit )
+# If arg is a valid number, return it. Otherwise, return null.
+function clean_number( $value )
{
- $return_value = null;
- if( ctype_digit( $digit ) ) {
- $return_value = $digit;
- }
- return $return_value;
+ return is_numeric( $value ) ? $value : null;
}
#-------------------------------------------------------------------------------
Index: web/get_context.php
===================================================================
--- web/get_context.php (revision 906)
+++ web/get_context.php (working copy)
@@ -22,7 +22,8 @@
$hostcols = isset($_GET["hc"]) ?
clean_number( $_GET["hc"] ) : NULL;
# Flag, whether or not to show a list of hosts
-$showhosts = isset($_GET["sh"]) ? 1 : NULL;
+$showhosts = isset($_GET["sh"]) ?
+ clean_number( $_GET["sh"] ) : NULL;
# The 'p' variable specifies the verbosity level in the physical view.
$physical = isset($_GET["p"]) ?
clean_number( $_GET["p"] ) : NULL;
The following issues are fixed:
1) (now 0.00)
2) "Show Hosts" toggle stopped working
I hope I haven't forgotten any major issues. Alex, Jesse, can you
please confirm?
Thanks,
Bernard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers