version 1.10 | | version 1.11 |
---|
| | |
/* | | /* |
* static char *rcsid_style_c = | | * static char *rcsid_style_c = |
* "$Id: style.c,v 1.10 2001/02/11 09:12:13 cvs Exp $"; | | * "$Id: style.c,v 1.11 2001/04/06 00:42:59 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
#include <global.h> | | #include <global.h> |
#include <random_map.h> | | #include <random_map.h> |
| | #ifndef WIN32 // ---win32 exclude headers |
#include <dirent.h> | | #include <dirent.h> |
#include <sys/stat.h> | | #include <sys/stat.h> |
#include <unistd.h> | | #include <unistd.h> |
#include "../include/autoconf.h" | | #include "../include/autoconf.h" |
| | #endif // win32 |
#ifndef HAVE_SCANDIR | | #ifndef HAVE_SCANDIR |
| | |
/* The scandir is grabbed from the gnulibc and modified slightly to remove | | /* The scandir is grabbed from the gnulibc and modified slightly to remove |
| | |
while ((d = readdir (dp)) != NULL) | | while ((d = readdir (dp)) != NULL) |
if (select == NULL || (*select) (d)) | | if (select == NULL || (*select) (d)) |
{ | | { |
size_t dsize; | | |
| | |
if (i == vsize) | | if (i == vsize) |
{ | | { |