Enabling the extended stat() versions had unforeseen consequences (broke the build,
src/bin/coreutils/src/cp.c, line 542 needs stat() exported), therefore, I disabled it for now again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17902 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -104,7 +104,7 @@ extern int mkfifo(const char *path, mode_t mode);
|
||||
extern mode_t umask(mode_t cmask);
|
||||
|
||||
// This achieves backwards compatibility with R5
|
||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
#if 0 //def HAIKU_TARGET_PLATFORM_HAIKU
|
||||
#define stat(fd, st) _stat(fd, st, sizeof(struct stat))
|
||||
#define fstat(fd, st) _fstat(fd, st, sizeof(struct stat))
|
||||
#define lstat(fd, st) _lstat(fd, st, sizeof(struct stat))
|
||||
|
||||
Reference in New Issue
Block a user