diff options
author | kaa@polly.(none) <> | 2007-10-18 13:47:35 +0400 |
---|---|---|
committer | kaa@polly.(none) <> | 2007-10-18 13:47:35 +0400 |
commit | 3af902ec47042c1e8cd78172c2544cb83bcb8a27 (patch) | |
tree | dc3c1e3e5d9a50be6f46d86dbb366417a111716c /mysys/my_lib.c | |
parent | 3d203e55e67946e505f85a7d3a4321794ece51fe (diff) | |
parent | 6d1f3e8de56e3cc861272265fc1f6119a41036a9 (diff) | |
download | mariadb-git-3af902ec47042c1e8cd78172c2544cb83bcb8a27.tar.gz |
Merge polly.(none):/home/kaa/src/maint/bug31207/my50-bug31174
into polly.(none):/home/kaa/src/maint/mysql-5.0-maint
Diffstat (limited to 'mysys/my_lib.c')
-rw-r--r-- | mysys/my_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/my_lib.c b/mysys/my_lib.c index 61de4ff9065..a076a0c971d 100644 --- a/mysys/my_lib.c +++ b/mysys/my_lib.c @@ -187,7 +187,7 @@ MY_DIR *my_dir(const char *path, myf MyFlags) result->number_off_files= dir_entries_storage->elements; if (!(MyFlags & MY_DONT_SORT)) - qsort((void *) result->dir_entry, result->number_off_files, + my_qsort((void *) result->dir_entry, result->number_off_files, sizeof(FILEINFO), (qsort_cmp) comp_names); DBUG_RETURN(result); @@ -498,7 +498,7 @@ MY_DIR *my_dir(const char *path, myf MyFlags) result->number_off_files= dir_entries_storage->elements; if (!(MyFlags & MY_DONT_SORT)) - qsort((void *) result->dir_entry, result->number_off_files, + my_qsort((void *) result->dir_entry, result->number_off_files, sizeof(FILEINFO), (qsort_cmp) comp_names); DBUG_PRINT("exit", ("found %d files", result->number_off_files)); DBUG_RETURN(result); @@ -605,7 +605,7 @@ MY_DIR *my_dir(const char* path, myf MyFlags) result->number_off_files= dir_entries_storage->elements; if (!(MyFlags & MY_DONT_SORT)) - qsort((void *) result->dir_entry, result->number_off_files, + my_qsort((void *) result->dir_entry, result->number_off_files, sizeof(FILEINFO), (qsort_cmp) comp_names); DBUG_RETURN(result); |