mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 09:49:02 +02:00
DMD 2.032 Merge.
This commit is contained in:
@@ -14,16 +14,13 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if !__DMC__
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#if _WIN32
|
||||
#include <tchar.h>
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#if linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -409,10 +409,12 @@ Array *FileName::splitPath(const char *path)
|
||||
continue;
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
case ' ':
|
||||
case '\t': // tabs in filenames?
|
||||
if (!instring) // if not in string
|
||||
break; // treat as end of path
|
||||
#endif
|
||||
default:
|
||||
buf.writeByte(c);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user