forked from KolibriOS/kolibrios
NewLib:
- Duplicate functionality files removed; - Refactoring of file handling functions; - Removed broken impliments. Gears (C + TinyGL): - Removed because it duplicates an existing example on Fasm and uses unsupported wrappers on the KOS API. KosJS: - Removed. The MuJS port is too old and not used anywhere. Support is not profitable. Backy: - Removed useless GCC version. Support is not profitable. DGen-SDL and SQLite3 - Fix after removing broken "dirent.h". Fridge: - Moving the KOS API wrapper to avoid compilation errors. Udis86, uARM and 8086tiny: - Fix after removing redundant "kos_LoadConsole.h". git-svn-id: svn://kolibrios.org@9952 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#ifndef _KOLIBRI
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
#ifndef __MINGW32__
|
||||
#include <sys/types.h>
|
||||
@@ -658,6 +660,7 @@ static void free_pppc(char ***pppc, size_t skip)
|
||||
*/
|
||||
static char **complete_path_simple(const char *path, size_t len)
|
||||
{
|
||||
#ifndef _KOLIBRI
|
||||
size_t rlen;
|
||||
const char *cpl;
|
||||
char *root;
|
||||
@@ -742,10 +745,11 @@ error:
|
||||
free(*(ret++));
|
||||
free(ret);
|
||||
}
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if defined(HAVE_GLOB_H) && !defined(__MINGW32__) && !defined(_KOLIBRI)
|
||||
#if defined(HAVE_GLOB_H) && !defined(__MINGW32__)
|
||||
|
||||
#define COMPLETE_USERDIR_TILDE 0x01
|
||||
#define COMPLETE_USERDIR_EXACT 0x02
|
||||
|
||||
Reference in New Issue
Block a user