diff options
author | Mystery Man <unknown@mandriva.org> | 2002-09-14 18:25:46 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-09-14 18:25:46 +0000 |
commit | 40fc236df0b0f5d9f61030264e4c82e88719a52e (patch) | |
tree | b278238b7dc2559c8920bfb8a35f933b7754c7f5 /mdk-stage1/dietlibc/lib/__fstat64.c | |
parent | d4079232d73723aab49dfa9d81187a7e8a60bf55 (diff) | |
download | drakx-backup-do-not-use-40fc236df0b0f5d9f61030264e4c82e88719a52e.tar drakx-backup-do-not-use-40fc236df0b0f5d9f61030264e4c82e88719a52e.tar.gz drakx-backup-do-not-use-40fc236df0b0f5d9f61030264e4c82e88719a52e.tar.bz2 drakx-backup-do-not-use-40fc236df0b0f5d9f61030264e4c82e88719a52e.tar.xz drakx-backup-do-not-use-40fc236df0b0f5d9f61030264e4c82e88719a52e.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_9_48mdk'.V1_1_9_48mdk
Diffstat (limited to 'mdk-stage1/dietlibc/lib/__fstat64.c')
-rw-r--r-- | mdk-stage1/dietlibc/lib/__fstat64.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/mdk-stage1/dietlibc/lib/__fstat64.c b/mdk-stage1/dietlibc/lib/__fstat64.c deleted file mode 100644 index 6f9fcb2c5..000000000 --- a/mdk-stage1/dietlibc/lib/__fstat64.c +++ /dev/null @@ -1,25 +0,0 @@ -#include "dietfeatures.h" - -#ifdef WANT_LARGEFILE_BACKCOMPAT -#include <sys/stat.h> -#ifndef __NO_STAT64 -#include <errno.h> - -extern int __dietlibc_fstat64(int __fd, struct stat64 *__buf); -extern void __stat64_cvt(const struct stat *src,struct stat64 *dest); - -int fstat64(int __fd, struct stat64 *__buf) { - if (__dietlibc_fstat64(__fd,__buf)) { - struct stat temp; -#ifdef WANT_THREAD_SAFE - if (*__errno_location()!=ENOSYS) return -1; -#else - if (errno!=ENOSYS) return -1; -#endif - if (fstat(__fd,&temp)) return -1; - __stat64_cvt(&temp,__buf); - } - return 0; -} -#endif -#endif |