From 8bfd06c6f5da5c981462cd6d605c9c928eaeb8f4 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Mon, 24 Apr 2000 14:57:54 +0000 Subject: [PATCH] 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 --- modules/generators/mod_autoindex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.47.3