Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > 1d3e4ecaf3caebbd83d3a2a217cb43d1 > files > 1

ext3grep-0.10.2-7.mga6.src.rpm

Only in ext3grep-0.10.1.new/src/: .deps
Only in ext3grep-0.10.1.new/src/: ext3grep
Only in ext3grep-0.10.1.new/src/: ext3grep-accept.o
Only in ext3grep-0.10.1.new/src/: ext3grep-blocknr_vector_type.o
Only in ext3grep-0.10.1.new/src/: ext3grep-commandline.o
Only in ext3grep-0.10.1.new/src/: ext3grep-custom.o
Only in ext3grep-0.10.1.new/src/: ext3grep-directories.o
Only in ext3grep-0.10.1.new/src/: ext3grep-dir_inode_to_block.o
Only in ext3grep-0.10.1.new/src/: ext3grep-dump_hex_to.o
Only in ext3grep-0.10.1.new/src/: ext3grep-dump_names.o
Only in ext3grep-0.10.1.new/src/: ext3grep-ext3grep.o
Only in ext3grep-0.10.1.new/src/: ext3grep-get_block.o
Only in ext3grep-0.10.1.new/src/: ext3grep-globals.o
Only in ext3grep-0.10.1.new/src/: ext3grep-histogram.o
Only in ext3grep-0.10.1.new/src/: ext3grep-indirect_blocks.o
Only in ext3grep-0.10.1.new/src/: ext3grep-init_consts.o
Only in ext3grep-0.10.1.new/src/: ext3grep-init_directories.o
Only in ext3grep-0.10.1.new/src/: ext3grep-init_files.o
Only in ext3grep-0.10.1.new/src/: ext3grep-init_journal_consts.o
Only in ext3grep-0.10.1.new/src/: ext3grep-inode.o
Only in ext3grep-0.10.1.new/src/: ext3grep-inode_refers_to.o
Only in ext3grep-0.10.1.new/src/: ext3grep-is_blockdetection.o
Only in ext3grep-0.10.1.new/src/: ext3grep-journal.o
Only in ext3grep-0.10.1.new/src/: ext3grep-last_undeleted_directory_inode_refering_to_block.o
Only in ext3grep-0.10.1.new/src/: ext3grep-load_meta_data.o
Only in ext3grep-0.10.1.new/src/: ext3grep-locate.o
Only in ext3grep-0.10.1.new/src/: ext3grep-ostream_operators.o
Only in ext3grep-0.10.1.new/src/: ext3grep-Parent.o
Only in ext3grep-0.10.1.new/src/: ext3grep-print_directory_inode.o
Only in ext3grep-0.10.1.new/src/: ext3grep-print_directory.o
Only in ext3grep-0.10.1.new/src/: ext3grep-print_dir_entry_long_action.o
Only in ext3grep-0.10.1.new/src/: ext3grep-printing.o
Only in ext3grep-0.10.1.new/src/: ext3grep-print_inode_to.o
Only in ext3grep-0.10.1.new/src/: ext3grep-print_symlink.o
Only in ext3grep-0.10.1.new/src/: ext3grep-restore.o
Only in ext3grep-0.10.1.new/src/: ext3grep-show_hardlinks.o
Only in ext3grep-0.10.1.new/src/: ext3grep-show_journal_inodes.o
Only in ext3grep-0.10.1.new/src/: ext3grep-utils.o
diff -ur ext3grep-0.10.1/src//ext3.h ext3grep-0.10.1.new/src//ext3.h
--- ext3grep-0.10.1/src//ext3.h	2008-04-09 12:20:31.000000000 +0100
+++ ext3grep-0.10.1.new/src//ext3.h	2012-06-08 23:04:06.000000000 +0100
@@ -24,6 +24,17 @@
 #ifndef EXT3_H
 #define EXT3_H
 
+// this trickery needs to happen before ext2_fs is included so
+// bail out if it has already been included by another path
+#ifdef _LINUX_EXT2_FS_H
+  #error please include this file before any other includes of ext2fs/ext2_fs.h
+#endif
+
+// some versions of the ext2 headers call this s_frags_per_group and some
+// call it s_clusters_per_group, define one to the other so our code works 
+// with both
+#define s_clusters_per_group s_frags_per_group
+
 // Use the header files from e2progs (http://e2fsprogs.sourceforge.net)
 // We can use these headers and then everything named ext2 or ext3.
 #include <ext2fs/ext2_fs.h>			// Definitions of ext2, ext3 and ext4.
@@ -110,6 +121,12 @@
     __u32 faddr(void) const { return i_faddr; }
     __u16 uid_high(void) const { return i_uid_high; }
     __u16 gid_high(void) const { return i_gid_high; }
+#ifndef i_reserved2
+    //i_reserved2 has been split into two fields in recent 
+    //versions of the headers, luckilly we can still access
+    //it in one peice through the hurd side of the union
+    #define i_reserved2 osd2.hurd2.h_i_author
+#endif
     __u32 reserved2(void) const { return i_reserved2; }
 
     void set_reserved2(__u32 val) { i_reserved2 = val; }
Only in ext3grep-0.10.1.new/src/: Makefile
Only in ext3grep-0.10.1.new/src/: pch.h.gch
Only in ext3grep-0.10.1.new/src/: sys.h
Only in ext3grep-0.10.1.new/src/: timestamp-sys.h