Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50884 - website/public_html/beta/common/code
From: daniel_james_at_[hidden]
Date: 2009-01-29 17:16:18


Author: danieljames
Date: 2009-01-29 17:16:17 EST (Thu, 29 Jan 2009)
New Revision: 50884
URL: http://svn.boost.org/trac/boost/changeset/50884

Log:
Make sort by name case insensitive, should possibly do the same for the
other sorts.
Text files modified:
   website/public_html/beta/common/code/boost_utility.php | 4 ++--
   1 files changed, 2 insertions(+), 2 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-01-29 17:16:17 EST (Thu, 29 Jan 2009)
@@ -78,7 +78,7 @@
 }
 
 function _field_cmp_name_($a,$b)
-{ return strcmp($a['name'],$b['name']); }
+{ return strcasecmp($a['name'],$b['name']); }
 
 function _field_cmp_pubdate_($a,$b)
 { return _field_cmp_less_($b['pubdate'],$a['pubdate']); }
@@ -92,4 +92,4 @@
 function _field_cmp_title_($a,$b)
 { return strcmp($a['title'],$b['title']); }
 
-?>
\ No newline at end of file
+?>


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