blob: 684a46283d1b5df4c3562f57a76c235763c09c85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Copyright (C) 2008-2009 Hai Zaar, Codefidence Ltd <haizaar@codefidence.com>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <_lfs_64.h>
#include <dirent.h>
#include <string.h>
#include "dirstream.h"
int versionsort64(const void *a, const void *b)
{
return strverscmp((*(const struct dirent64 **) a)->d_name,
(*(const struct dirent64 **) b)->d_name);
}
|