/*
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
- * Stelian Pop <pop@noos.fr> - Alcôve <www.alcove.fr>, 2000
+ * Stelian Pop <stelian@popies.net> - Alcôve <www.alcove.com>, 2000-2002
*
- * $Id: compatlfs.h,v 1.1 2001/04/27 15:22:47 stelian Exp $
+ * $Id: compatlfs.h,v 1.6 2005/07/07 08:47:16 stelian Exp $
*/
/*-
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
#define _LARGEFILE64_SOURCE
#define OPEN open64
+#define FOPEN fopen64
#define LSEEK lseek64
#define STAT stat64
+#define FSTAT fstat64
#define LSTAT lstat64
#define FTRUNCATE ftruncate64
+#define OFF_T __off64_t
+#define MKSTEMP mkstemp64
+#define FTELL ftello64
#else
#define OPEN open
+#define FOPEN fopen
#define LSEEK lseek
#define STAT stat
+#define FSTAT fstat
#define LSTAT lstat
#define FTRUNCATE ftruncate
+#define OFF_T off_t
+#define MKSTEMP mkstemp
+#define FTELL ftell
#endif /* USE_LFS */