From: Stelian Pop Date: Fri, 10 Jan 2003 14:46:55 +0000 (+0000) Subject: Add local EXT2_FT_* constants. X-Git-Tag: release_0_4b33~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=dbb649e870428cffea2583ed34233d0239b80992;p=dump.git Add local EXT2_FT_* constants. --- diff --git a/CHANGES b/CHANGES index 0e16055..032b0a1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.206 2003/01/10 14:42:47 stelian Exp $ +$Id: CHANGES,v 1.207 2003/01/10 14:46:55 stelian Exp $ Changes between versions 0.4b32 and 0.4b33 (released ?????????????????) ======================================================================= @@ -36,6 +36,9 @@ Changes between versions 0.4b32 and 0.4b33 (released ?????????????????) 7. Made rmt understand long (largefiles) seeks. +8. Fixed build with very old versions of libext2fs, where + EXT2_FT_* constants were undefined. + Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002) ======================================================================= diff --git a/dump/traverse.c b/dump/traverse.c index 00f0321..d97e38e 100644 --- a/dump/traverse.c +++ b/dump/traverse.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: traverse.c,v 1.53 2003/01/10 10:31:10 stelian Exp $"; + "$Id: traverse.c,v 1.54 2003/01/10 14:46:55 stelian Exp $"; #endif /* not lint */ #include @@ -134,6 +134,17 @@ typedef ino_t ext2_ino_t; #ifndef EXT2_RESIZE_INO #define EXT2_RESIZE_INO 7 #endif +#ifndef EXT2_FT_UNKNOWN +#define EXT2_FT_UNKNOWN 0 +#define EXT2_FT_REG_FILE 1 +#define EXT2_FT_DIR 2 +#define EXT2_FT_CHRDEV 3 +#define EXT2_FT_BLKDEV 4 +#define EXT2_FT_FIFO 5 +#define EXT2_FT_SOCK 6 +#define EXT2_FT_SYMLINK 7 +#define EXT2_FT_MAX 8 +#endif int dump_fs_open(const char *disk, ext2_filsys *fs) {