Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52499 - website/public_html/beta/common/code
From: daniel_james_at_[hidden]
Date: 2009-04-20 03:28:08


Author: danieljames
Date: 2009-04-20 03:28:07 EDT (Mon, 20 Apr 2009)
New Revision: 52499
URL: http://svn.boost.org/trac/boost/changeset/52499

Log:
When sorting the libraries, put 'false' values last. Fixes #2604.
Text files modified:
   website/public_html/beta/common/code/boost_utility.php | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: website/public_html/beta/common/code/boost_utility.php
==============================================================================
--- website/public_html/beta/common/code/boost_utility.php (original)
+++ website/public_html/beta/common/code/boost_utility.php 2009-04-20 03:28:07 EDT (Mon, 20 Apr 2009)
@@ -74,7 +74,7 @@
 
 function _field_cmp_less_($i,$j)
 {
- return ($i == $j) ? 0 : (($i < $j) ? -1 : 1);
+ return ($i == $j) ? 0 : ($i !== FALSE && ($j === FALSE || $i < $j) ? -1 : 1);
 }
 
 function _field_cmp_name_($a,$b)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk