From: Bill Stoddard Date: Mon, 24 Apr 2000 14:57:54 +0000 (+0000) Subject: Change names of strnatcmp & strnatcasecmp to cpmply with APR naming X-Git-Tag: APACHE_2_0_ALPHA_3~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bfd06c6f5da5c981462cd6d605c9c928eaeb8f4;p=thirdparty%2Fapache%2Fhttpd.git Change names of strnatcmp & strnatcasecmp to cpmply with APR naming conventions Submitted by: William Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85028 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index edc07355f15..83ed3023211 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1506,7 +1506,7 @@ static int dsortf(struct ent **e1, struct ent **e2) break; case K_DESC: if (c1->version_sort) - result = strnatcmp(c1->desc ? c1->desc : "", c2->desc ? c2->desc : ""); + result = ap_strnatcmp(c1->desc ? c1->desc : "", c2->desc ? c2->desc : ""); else result = strcmp(c1->desc ? c1->desc : "", c2->desc ? c2->desc : ""); if (result) { @@ -1515,7 +1515,7 @@ static int dsortf(struct ent **e1, struct ent **e2) break; } if (c1->version_sort) - return strnatcmp(c1->name, c2->name); + return ap_strnatcmp(c1->name, c2->name); else return strcmp(c1->name, c2->name); }