X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Finclude%2Fcompatlfs.h;h=b5cb0a780a5de2e24996cc95d65698a19a7794a5;hp=fef642d86e80f87f0712aa0b3f036352365db092;hb=26ce8fc8f42b8cdd92e9eaadae48be256813b001;hpb=95c74f382492999827000f544fcb6844150cda81 diff --git a/compat/include/compatlfs.h b/compat/include/compatlfs.h index fef642d..b5cb0a7 100644 --- a/compat/include/compatlfs.h +++ b/compat/include/compatlfs.h @@ -1,9 +1,9 @@ /* * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit - * Stelian Pop - Alcôve , 2000 + * Stelian Pop - Alcôve , 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 $ */ /*- @@ -18,11 +18,7 @@ * 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. * @@ -48,18 +44,28 @@ #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 */