httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: [PATCH] Caseless sorting for mod_autoindex
Date Tue, 05 Feb 2002 15:39:25 GMT
"William A. Rowe, Jr." wrote:
> 
> Forewarned that
> 
> > o abc
> > o Abc
> > o Bcd
> > o bcd
> > o xyz
> > o Xyz
> 
> is equally possible with this patch, it doesn't sort by case at all.

Fixed in the version of the patch I'll be committing.  If
strcasecmp() returns equality, pass on to strcmp() in order to
get a predictable and deterministic order.  Extra cycles, but
only when you have files that are named identically except for
case.
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"

Mime
View raw message