X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Finclude%2Fbsdcompat.h;h=96ce8b43ba62b2c565d6801088f7dce5d326cfa6;hb=43ef843b59f89bb96ebec8647aa23ad43ae6789c;hp=bb39fe8a292bfd49c20d08880492b079d043bad6;hpb=8eb05297aafdfd88bbd946a35d4db771604503bd;p=dump.git diff --git a/compat/include/bsdcompat.h b/compat/include/bsdcompat.h index bb39fe8..96ce8b4 100644 --- a/compat/include/bsdcompat.h +++ b/compat/include/bsdcompat.h @@ -2,9 +2,10 @@ * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit * Remy Card , 1994-1997 - * Stelian Pop , 1999-2000 + * Stelian Pop , 1999-2000 + * Stelian Pop - AlcĂ´ve , 2000 * - * $Id: bsdcompat.h,v 1.10 2000/02/10 09:42:32 stelian Exp $ + * $Id: bsdcompat.h,v 1.14 2001/03/20 09:14:58 stelian Exp $ */ #include @@ -59,10 +60,9 @@ typedef __u64 u_quad_t; /* * The BSD dump format reserves 4 bytes for a time_t, but other architectures * (notably axp) have larger time_t. ctime4() is a modified ctime() which - * always accepts short 4-byte times. time4() is a similarly modified time(). + * always accepts short 4-byte times. */ #define ctime4(timep) ({ time_t t = *(timep); ctime(&t); }) -#define time4(timep) ({time_t t; t = time(0); if (timep) *timep=t; t; }) /* * This is the ext2_inode structure but the fields have been renamed @@ -101,6 +101,7 @@ struct dinode { #define di_rdev di_db[0] /* #define di_ouid di_uid */ /* #define di_ogid di_gid */ +#define di_size_high di_dir_acl /* * This is the ext2_dir_entry structure but the fields have been renamed