From 63a9a8f72a8fa7c0ed175bf0316624f7e8469c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 21 Jun 2006 21:19:37 +0000 Subject: [PATCH] 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 --- headers/posix/sys/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/posix/sys/stat.h b/headers/posix/sys/stat.h index 478c3d78e3..8f66dda316 100644 --- a/headers/posix/sys/stat.h +++ b/headers/posix/sys/stat.h @@ -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))