@@ -742,12 +742,12 @@ AP_DECLARE(char *) ap_make_full_path(apr_pool_t *a, const char *src1,
742742return path ;
743743}
744744
745- static int fname_alphasort (const void * fn1 ,const void * fn2 )
745+ static int fname_reversealphasort (const void * fn1 ,const void * fn2 )
746746{
747747const fnames * f1 = fn1 ;
748748const fnames * f2 = fn2 ;
749749
750- return strcmp (f1 -> fname ,f2 -> fname );
750+ return strcmp (f2 -> fname ,f1 -> fname );
751751}
752752
753753int fnmatch_test (const char * pattern )
@@ -840,7 +840,7 @@ static const char *process_resource_config_nofnmatch(const char *fname,
840840apr_dir_close (dirp );
841841if (candidates -> nelts != 0 ) {
842842qsort ((void * )candidates -> elts ,candidates -> nelts ,
843- sizeof (fnames ),fname_alphasort );
843+ sizeof (fnames ),fname_reversealphasort );
844844
845845/*
846846 * Now recurse these... we handle errors and subdirectories
@@ -941,7 +941,7 @@ static const char *process_resource_config_fnmatch(const char *path,
941941const char * error ;
942942
943943qsort ((void * )candidates -> elts ,candidates -> nelts ,
944- sizeof (fnames ),fname_alphasort );
944+ sizeof (fnames ),fname_reversealphasort );
945945
946946/*
947947 * Now recurse these... we handle errors and subdirectories
@@ -1201,3 +1201,4 @@ const char *process_command_config(server_rec *s,
12011201
12021202return errmsg ;
12031203}
1204+